display: Set the cursor theme on the backend display as well

This commit is contained in:
Jasper St. Pierre 2014-04-24 10:51:13 -04:00
parent 490f1a6249
commit a6f3534ff0

View File

@ -2297,6 +2297,15 @@ update_cursor_theme (void)
if (display->screen) if (display->screen)
meta_screen_update_cursor (display->screen); meta_screen_update_cursor (display->screen);
} }
{
MetaBackend *backend = meta_get_backend ();
if (META_IS_BACKEND_X11 (backend))
{
Display *xdisplay = meta_backend_x11_get_xdisplay (META_BACKEND_X11 (backend));
set_cursor_theme (xdisplay);
}
}
} }
/* /*