mirror of
https://github.com/brl/mutter.git
synced 2025-07-03 17:46:31 +00:00
cursor: Don't require an xdisplay to load cursors on the client
This commit is contained in:
@ -177,8 +177,8 @@ load_cursor_on_client (MetaDisplay *display,
|
|||||||
XcursorImage *image;
|
XcursorImage *image;
|
||||||
guint glyph;
|
guint glyph;
|
||||||
const char *name;
|
const char *name;
|
||||||
const char *theme = XcursorGetTheme (display->xdisplay);
|
const char *theme = meta_prefs_get_cursor_theme ();
|
||||||
int size = XcursorGetDefaultSize (display->xdisplay);
|
int size = meta_prefs_get_cursor_size ();
|
||||||
|
|
||||||
translate_meta_cursor (cursor, &glyph, &name);
|
translate_meta_cursor (cursor, &glyph, &name);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user