GNOME Bugzilla – Bug 692548
Quartz: Cursor doesn't reset when the mouse leaves a toplevel window
Last modified: 2013-08-08 14:40:50 UTC
OSX cursors are set application wide, so the window needs to turn off its custom cursor when the mouse leaves it. However GDK doesn't have a mechanism for setting the cursor when the mouse exits a toplevel window. Instead this patch just resets the cursor to the standard arrow whenever a NSMouseExited is sent to a toplevel. Because OSX doesn't support fullscreen grabs there is never a case where the cursor should stay set outside of a GDK window. (This bug also exists in GTK2, and the same patch can be applied cleanly to GTK2)
Created attachment 235979 [details] [review] Always reset the cursor when it leaves a toplevel window Apparently I forgot to actually attach the patch
Good catch, please add a small comment why this is needed and push to master, gtk-2-6 and gtk-2-24.
gtk-3-6 even
Any reason this hasn't been committed yet?
I've been busy with other things and I haven't had an up to date gtk-master build on OSX to test / push from.
I committed this to master, gtk-3-8, and gtk-2-24 on Daniel's behalf. Thanks very much for the patch!