aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-08-07 14:53:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-08-07 14:53:58 +0000
commit1faad5add7df9f9e8df262c48b58cc36b9af91a0 (patch)
treea8020d0903f63bc7f1bc85ca3f97c32edfb1be1b /render.c
parentMerge branch 'releases/1.15' (diff)
parentwayland: cursor-shape-v1 is now always available (diff)
Merge branch 'wayland-protocols-1.32'
Closes #1391
Diffstat (limited to 'render.c')
-rw-r--r--render.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/render.c b/render.c
index 05d29c25..70b3fba0 100644
--- a/render.c
+++ b/render.c
@@ -4314,7 +4314,6 @@ render_xcursor_update(struct seat *seat)
xassert(seat->pointer.cursor != NULL);
-#if defined(HAVE_CURSOR_SHAPE)
const enum cursor_shape shape = seat->pointer.shape;
const char *const xcursor = seat->pointer.last_custom_xcursor;
@@ -4344,7 +4343,6 @@ render_xcursor_update(struct seat *seat)
return;
}
}
-#endif
LOG_DBG("setting %scursor shape using a client-side cursor surface",
seat->pointer.shape == CURSOR_SHAPE_CUSTOM ? "custom " : "");