aboutsummaryrefslogtreecommitdiff
path: root/swaynag
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2023-06-23 12:28:15 +0200
committerFurkan Sahin <furkan-dev@proton.me>2023-06-23 12:28:15 +0200
commitc73d5a2428c363b4af36d3ca8ee3ed0d7c3e4eb3 (patch)
treec2ea62de5a96a6bce7502542013b520331a79c6c /swaynag
parentfb533ed88a553392f815c3e060b23e4d945e43f6 (diff)
Use "default" XCursor instead of "left_ptr"
"left_ptr" is the legacy XCursor name. "default" is the cursor spec name.
Diffstat (limited to 'swaynag')
-rw-r--r--swaynag/swaynag.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaynag/swaynag.c b/swaynag/swaynag.c
index 08e26127..1b114e28 100644
--- a/swaynag/swaynag.c
+++ b/swaynag/swaynag.c
@@ -154,7 +154,7 @@ static void update_cursor(struct swaynag_seat *seat) {
pointer->cursor_theme = wl_cursor_theme_load(
cursor_theme, cursor_size * swaynag->scale, swaynag->shm);
struct wl_cursor *cursor =
- wl_cursor_theme_get_cursor(pointer->cursor_theme, "left_ptr");
+ wl_cursor_theme_get_cursor(pointer->cursor_theme, "default");
pointer->cursor_image = cursor->images[0];
wl_surface_set_buffer_scale(pointer->cursor_surface,
swaynag->scale);