aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-31 14:33:16 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-08-07 14:53:19 +0000
commit698c5b54f32c885304d5e2ff55580ce7f52b5da7 (patch)
treea8020d0903f63bc7f1bc85ca3f97c32edfb1be1b /render.c
parentwayland: fractional-scale-v1 is now always available (diff)
wayland: cursor-shape-v1 is now always available
Since we're requiring wayland-protocols >= 1.32
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 " : "");