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 749119 - Implement gdk_cursor_get_image
Implement gdk_cursor_get_image
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-05-08 14:27 UTC by Matthias Clasen
Modified: 2015-05-12 15:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Deprecate gdk_cursor_get_image/surface (2.44 KB, patch)
2015-05-10 20:23 UTC, Matthias Clasen
none Details | Review

Description Matthias Clasen 2015-05-08 14:27:04 UTC
I've recently added a cursors demo to gtk3-demo - it comes up all blank under Wayland, since we don't get cursor images.
Comment 1 Matthias Clasen 2015-05-10 19:36:20 UTC
On second thought, maybe gdk_cursor_get_image should be x11-specific api, since we don't have implementations on any other backend.
Comment 2 Matthias Clasen 2015-05-10 20:23:30 UTC
Created attachment 303191 [details] [review]
Deprecate gdk_cursor_get_image/surface

These functions are only implemented on X11, and may not
be implementable on other platforms.
Comment 3 Matthias Clasen 2015-05-10 20:24:33 UTC
we may need to add x11 api for this back, and use it for dnd icons (which is the one place where this api is used).
Comment 4 Matthias Clasen 2015-05-12 15:11:45 UTC
I've now changed the cursors example in gtk3-demo to just use pngs from resources instead of querying cursor images at runtime.