display: Set the cursor theme on the backend display as well
This commit is contained in:
parent
490f1a6249
commit
a6f3534ff0
1 changed files with 9 additions and 0 deletions
|
@ -2297,6 +2297,15 @@ update_cursor_theme (void)
|
|||
if (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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue