cursor: Don't require an xdisplay to load cursors on the client
This commit is contained in:
parent
ef44cc5a53
commit
e80c37f857
@ -177,8 +177,8 @@ load_cursor_on_client (MetaDisplay *display,
|
||||
XcursorImage *image;
|
||||
guint glyph;
|
||||
const char *name;
|
||||
const char *theme = XcursorGetTheme (display->xdisplay);
|
||||
int size = XcursorGetDefaultSize (display->xdisplay);
|
||||
const char *theme = meta_prefs_get_cursor_theme ();
|
||||
int size = meta_prefs_get_cursor_size ();
|
||||
|
||||
translate_meta_cursor (cursor, &glyph, &name);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user