Re: Hack/work-around for cursor problem on sparc-solaris
Alexandre Julliard wrote:
No; you can actually set a NULL cursor to hide the cursor. This is also used by ShowCursor().
Ok... Do you agree that we should handle the 'failed to load cursor resources' problem in a better way that just drawing no cursor? If not, I'll just leave my change in locally until I get the cursor loading fixed on solaris. Once I get the problem fixed it may not be a big deal... If so - how do you suggest we address it? One possibility would be add a new function named something like 'X11DRV_SetDefaultCursor' and have SetCursor call it when LoadCursor fails... Anyone have a better idea? Warren
Warren_Baird(a)cimmetry.com writes:
If so - how do you suggest we address it? One possibility would be add a new function named something like 'X11DRV_SetDefaultCursor' and have SetCursor call it when LoadCursor fails... Anyone have a better idea?
I don't see how you can do that, SetCursor doesn't call LoadCursor. And LoadCursor on system cursors is not supposed to fail so there is no need to handle that case; if it fails it's a bug that should be fixed. -- Alexandre Julliard julliard(a)winehq.com
participants (2)
-
Alexandre Julliard -
Warren_Baird@cimmetry.com