GNOME Bugzilla – Bug 707919
display: add support for more cursor types
Last modified: 2013-09-12 08:17:30 UTC
Necessary to remove the same code from gnome-shell
Created attachment 254698 [details] [review] display: add support for more cursor types These cursors are used by gnome-shell, supporting them allows to reduce GDK usage in the shell. Also, make meta_screen_set_cursor() public.
Review of attachment 254698 [details] [review]: ::: src/core/display.c @@ +4007,3 @@ + + if (glyph < XC_num_glyphs) + xcursor = XCreateFontCursor (display->xdisplay, glyph); if (name) ... else ... is more clear IMO.
Pushed with suggested change. Attachment 254698 [details] pushed as 9def559 - display: add support for more cursor types