aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-23 12:28:15 +0200
committerSimon Ser <contact@emersion.fr>2023-06-25 22:38:10 +0200
commit974a8629a8f0f403028332543e4bd31d98f611c1 (patch)
treec2ea62de5a96a6bce7502542013b520331a79c6c /swaybar
parent7fbd9fbf2825f1c41468ac996aced9ba4b152992 (diff)
Use "default" XCursor instead of "left_ptr"
"left_ptr" is the legacy XCursor name. "default" is the cursor spec name.
Diffstat (limited to 'swaybar')
-rw-r--r--swaybar/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/input.c b/swaybar/input.c
index 8eccf542..f8f0672e 100644
--- a/swaybar/input.c
+++ b/swaybar/input.c
@@ -82,7 +82,7 @@ void update_cursor(struct swaybar_seat *seat) {
pointer->cursor_theme = wl_cursor_theme_load(
cursor_theme, cursor_size * scale, seat->bar->shm);
struct wl_cursor *cursor;
- cursor = wl_cursor_theme_get_cursor(pointer->cursor_theme, "left_ptr");
+ cursor = wl_cursor_theme_get_cursor(pointer->cursor_theme, "default");
pointer->cursor_image = cursor->images[0];
wl_surface_set_buffer_scale(pointer->cursor_surface, scale);
wl_surface_attach(pointer->cursor_surface,