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