GNOME Bugzilla – Bug 773077
_gdk_wayland_display_get_cursor_for_name / _with_scale does not return NULL for an unknown icon
Last modified: 2017-05-12 17:16:10 UTC
Created attachment 337824 [details] [review] Patch to fix the problem aisleriot and others that support many different platforms expect these functions to return NULL if an icon is not found. Without the attached patch, a useless structure is returned and the icon disappears. With this patch, things function as they should. This was originally reported in https://bugzilla.redhat.com/show_bug.cgi?id=1352244 which contains other patches for aisleriot which may be useful. I am not sure how far this goes back, but it exists in the current version and has existed for at least 8 months. Thank you for looking into this.
The fix is based on comparison with the x11 version.
Review of attachment 337824 [details] [review]: thanks, that looks just like what I came up with here
Thank you!
I do not have write access to the git tree. What shall I do to get it committed?
I'll pick it up, no worries. The a-c-n status is more a reminder for myself
Alright. Thank you Matthias!
ended up pushing my own version of the fix that had some other changes. Thanks
Ok. Thank you for the heads up.
*** Bug 772966 has been marked as a duplicate of this bug. ***
The fix has not shown up in subsequent 3.22.x releases. Is it possible to get this included in the next one? Or if it is a 3.23.x release, there?
pushed it now
Thank you.