After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 596250 - Gdkcursor-quartz.c doesn't implement GDK_BLANK_CURSOR
Gdkcursor-quartz.c doesn't implement GDK_BLANK_CURSOR
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Quartz
2.18.x
Other Mac OS
: Normal critical
: ---
Assigned To: gtk-quartz maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2009-09-24 22:58 UTC by John Ralls
Modified: 2009-09-25 19:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds new function for creating blank cursors. (1.46 KB, patch)
2009-09-24 22:58 UTC, John Ralls
none Details | Review

Description John Ralls 2009-09-24 22:58:04 UTC
Created attachment 143948 [details] [review]
Adds new function for creating blank cursors.

1cba7387ce6bc59b4d9b22f7b9462358dbd9fec9 Added a new GdkCursorType,
GDK_BLANK_CURSOR, with a enumeration value of -2. This value isn't accounted
for in gdk/quartz/gdkcursor-quartz.c and, because the negative enumeration
value gets used to index an array, causes a bus error (segfault) when used in a
program.

The attached patch handles the new cursor type.
Comment 1 Kristian Rietveld 2009-09-25 16:17:48 UTC
Thanks for the patch.  Committed with subtle changes.  Will push to master in a few minutes.
Comment 2 John Ralls 2009-09-25 19:21:09 UTC
Thanks very much for your quick response.

Regards,
John Ralls
'