diff options
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index be3fc9c7..69a019bb 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -395,6 +395,7 @@ void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, | |||
395 | } | 395 | } |
396 | 396 | ||
397 | struct sway_seat *seat = cursor->seat; | 397 | struct sway_seat *seat = cursor->seat; |
398 | struct wlr_seat *wlr_seat = seat->wlr_seat; | ||
398 | 399 | ||
399 | if (seat->operation != OP_NONE) { | 400 | if (seat->operation != OP_NONE) { |
400 | switch (seat->operation) { | 401 | switch (seat->operation) { |
@@ -418,7 +419,6 @@ void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, | |||
418 | return; | 419 | return; |
419 | } | 420 | } |
420 | 421 | ||
421 | struct wlr_seat *wlr_seat = seat->wlr_seat; | ||
422 | struct wlr_surface *surface = NULL; | 422 | struct wlr_surface *surface = NULL; |
423 | double sx, sy; | 423 | double sx, sy; |
424 | 424 | ||