aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/render.c b/render.c
index 65c39bf8..d873aa79 100644
--- a/render.c
+++ b/render.c
@@ -4017,8 +4017,12 @@ render_xcursor_set(struct seat *seat, struct terminal *term, const char *xcursor
seat->pointer.theme, xcursor);
if (seat->pointer.cursor == NULL) {
- LOG_ERR("failed to load xcursor pointer '%s'", xcursor);
- return false;
+ seat->pointer.cursor = wl_cursor_theme_get_cursor(
+ seat->pointer.theme, XCURSOR_TEXT_FALLBACK );
+ if (seat->pointer.cursor == NULL) {
+ LOG_ERR("failed to load xcursor pointer '%s', and fallback '%s'", xcursor, XCURSOR_TEXT_FALLBACK);
+ return false;
+ }
}
} else
seat->pointer.cursor = NULL;