mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
display: Set the cursor theme on the backend display as well
This commit is contained in:
parent
490f1a6249
commit
a6f3534ff0
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user