diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2023-06-29 14:07:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2023-07-03 12:36:33 +0000 |
| commit | 6388954e8f908a8cfd2f170c6a4f2c05370de762 (patch) | |
| tree | a8aab0db881a89515178e7514ae71ab035176863 /render.c | |
| parent | terminal: #elif -> #else (diff) | |
render: move variables inside #ifdef, as they’re not used outside of it
Diffstat (limited to 'render.c')
| -rw-r--r-- | render.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
