aboutsummaryrefslogtreecommitdiff
path: root/wayland.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-03-16 14:30:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-03-16 14:36:44 +0000
commit578765ad8358b74949ad1296703aec4dec7d004a (patch)
tree015cf6476ae82ab87207a322e1c236da41b96190 /wayland.c
parentcsi: indicate "permanently reset" for DECRQM queries of mode 67 (DECBKM) (diff)
wayland: skip loading cursor theme when using server side cursors
We don't need the client side cursor theme when using server side cursors.
Diffstat (limited to 'wayland.c')
-rw-r--r--wayland.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/wayland.c b/wayland.c
index fe3cba20..2645c4ab 100644
--- a/wayland.c
+++ b/wayland.c
@@ -1930,6 +1930,11 @@ wayl_reload_xcursor_theme(struct seat *seat, float new_scale)
seat->pointer.cursor = NULL;
}
+ if (seat->pointer.shape_device != NULL) {
+ /* Using server side cursors */
+ return true;
+ }
+
int xcursor_size = 24;
{