cursor: Don't require an xdisplay to load cursors on the client

This commit is contained in:
Jasper St. Pierre 2014-04-22 11:45:08 -04:00
parent ef44cc5a53
commit e80c37f857

View File

@ -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);