diff --git a/bar/wayland.c b/bar/wayland.c index af2e7f4..b4291da 100644 --- a/bar/wayland.c +++ b/bar/wayland.c @@ -1189,6 +1189,8 @@ set_cursor(struct bar *_bar, const char *cursor) if (seat->pointer.xcursor != NULL && strcmp(seat->pointer.xcursor, cursor) == 0) return; + seat->pointer.xcursor = cursor; + seat->pointer.cursor = wl_cursor_theme_get_cursor( seat->pointer.theme, cursor);