aboutsummaryrefslogtreecommitdiff
path: root/rootston/desktop.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-18 09:47:53 +0100
committeremersion <contact@emersion.fr>2017-11-18 09:47:53 +0100
commitcd566ccd8e1c41af6b1d5f03fabdbdeaca2625ab (patch)
tree935aa837745796408421b7f44bf885e5683371cf /rootston/desktop.c
parentbf5640db128b930b38ebca2b1d8a79e028ad9f39 (diff)
Add cursor theme to rootston config
Diffstat (limited to 'rootston/desktop.c')
-rw-r--r--rootston/desktop.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/rootston/desktop.c b/rootston/desktop.c
index 1695d007..a2af5e95 100644
--- a/rootston/desktop.c
+++ b/rootston/desktop.c
@@ -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;