mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-07 13:29:49 -05:00
Add cursor theme to rootston config
This commit is contained in:
parent
bf5640db12
commit
cd566ccd8e
5 changed files with 10 additions and 3 deletions
|
|
@ -338,10 +338,11 @@ struct roots_desktop *desktop_create(struct roots_server *server,
|
|||
desktop->server = server;
|
||||
desktop->config = config;
|
||||
|
||||
desktop->xcursor_manager = wlr_xcursor_manager_create(NULL,
|
||||
desktop->xcursor_manager = wlr_xcursor_manager_create(config->cursor.theme,
|
||||
ROOTS_XCURSOR_SIZE);
|
||||
if (desktop->xcursor_manager == NULL) {
|
||||
wlr_log(L_ERROR, "Cannot create XCursor manager");
|
||||
wlr_log(L_ERROR, "Cannot create XCursor manager for theme %s",
|
||||
config->cursor.theme);
|
||||
wlr_list_free(desktop->views);
|
||||
free(desktop);
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue