aboutsummaryrefslogtreecommitdiffstats
path: root/swaynag/swaynag.c
diff options
context:
space:
mode:
authorLibravatar Simon Ser <contact@emersion.fr>2023-06-23 12:28:15 +0200
committerLibravatar Simon Ser <contact@emersion.fr>2023-06-23 12:28:15 +0200
commitffd4f8b60aedd498d909dd3c479f6a0b2897d3cc (patch)
treeeea9463eb63642eb270ca99a1c926f33af2ec959 /swaynag/swaynag.c
parentUse wlr_cursor_unset_image() (diff)
downloadsway-default-xcursor.tar.gz
sway-default-xcursor.tar.zst
sway-default-xcursor.zip
Use "default" XCursor instead of "left_ptr"default-xcursor
"left_ptr" is the legacy XCursor name. "default" is the cursor spec name.
Diffstat (limited to 'swaynag/swaynag.c')
-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) {
154 pointer->cursor_theme = wl_cursor_theme_load( 154 pointer->cursor_theme = wl_cursor_theme_load(
155 cursor_theme, cursor_size * swaynag->scale, swaynag->shm); 155 cursor_theme, cursor_size * swaynag->scale, swaynag->shm);
156 struct wl_cursor *cursor = 156 struct wl_cursor *cursor =
157 wl_cursor_theme_get_cursor(pointer->cursor_theme, "left_ptr"); 157 wl_cursor_theme_get_cursor(pointer->cursor_theme, "default");
158 pointer->cursor_image = cursor->images[0]; 158 pointer->cursor_image = cursor->images[0];
159 wl_surface_set_buffer_scale(pointer->cursor_surface, 159 wl_surface_set_buffer_scale(pointer->cursor_surface,
160 swaynag->scale); 160 swaynag->scale);