diff options
author | Drew DeVault <[email protected]> | 2018-09-07 11:09:02 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2018-09-07 11:09:02 -0400 |
commit | 030b5bc02455bc936a9a7fedc05c3f9b7c813098 (patch) | |
tree | a0d6ee22a377a06d5d745ef4eb170895d74e55cd /sway/input/cursor.c | |
parent | d86afdc6ed72ec03fd2fe727132ee30476b82ae0 (diff) | |
parent | 251a7ebc4ba1dd24e9bc6b3cfd6883c80f429a2f (diff) |
Merge pull request #2603 from emersion/fix-dnd
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 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, } struct sway_seat *seat = cursor->seat; + struct wlr_seat *wlr_seat = seat->wlr_seat; if (seat->operation != OP_NONE) { switch (seat->operation) { @@ -418,7 +419,6 @@ void cursor_send_pointer_motion(struct sway_cursor *cursor, uint32_t time_msec, return; } - struct wlr_seat *wlr_seat = seat->wlr_seat; struct wlr_surface *surface = NULL; double sx, sy; |