mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: move variables inside #ifdef, as they’re not used outside of it
This commit is contained in:
parent
7bfa700c55
commit
6388954e8f
1 changed files with 1 additions and 1 deletions
2
render.c
2
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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue