diff options
author | 2018-09-07 15:43:15 +0200 | |
---|---|---|
committer | 2018-09-07 15:43:15 +0200 | |
commit | 251a7ebc4ba1dd24e9bc6b3cfd6883c80f429a2f (patch) | |
tree | 0c719df34d250397e9b2731c50f3ee6bb3acf38a /sway/input/cursor.c | |
parent | Merge pull request #2569 from RyanDwyer/deny-reload-repeat (diff) | |
download | sway-251a7ebc4ba1dd24e9bc6b3cfd6883c80f429a2f.tar.gz sway-251a7ebc4ba1dd24e9bc6b3cfd6883c80f429a2f.tar.zst sway-251a7ebc4ba1dd24e9bc6b3cfd6883c80f429a2f.zip |
Fix drag-and-drop
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 00240e84..b35fa732 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c | |||
@@ -408,6 +408,7 @@ void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, | |||
408 | } | 408 | } |
409 | 409 | ||
410 | struct sway_seat *seat = cursor->seat; | 410 | struct sway_seat *seat = cursor->seat; |
411 | struct wlr_seat *wlr_seat = seat->wlr_seat; | ||
411 | 412 | ||
412 | if (seat->operation != OP_NONE) { | 413 | if (seat->operation != OP_NONE) { |
413 | switch (seat->operation) { | 414 | switch (seat->operation) { |
@@ -431,7 +432,6 @@ void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, | |||
431 | return; | 432 | return; |
432 | } | 433 | } |
433 | 434 | ||
434 | struct wlr_seat *wlr_seat = seat->wlr_seat; | ||
435 | struct wlr_surface *surface = NULL; | 435 | struct wlr_surface *surface = NULL; |
436 | double sx, sy; | 436 | double sx, sy; |
437 | 437 | ||