aboutsummaryrefslogtreecommitdiff
path: root/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'render.c')
-rw-r--r--render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render.c b/render.c
index df7a43f9..5a757a88 100644
--- a/render.c
+++ b/render.c
@@ -4270,10 +4270,10 @@ 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;
-#if defined(HAVE_CURSOR_SHAPE)
if (seat->pointer.shape_device != NULL) {
xassert(shape != CURSOR_SHAPE_CUSTOM || xcursor != NULL);