diff options
author | emersion <contact@emersion.fr> | 2018-09-11 19:34:58 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-09-11 19:34:58 +0200 |
commit | 8b263429cfd986d7f78e6e448790d70bd58a40c1 (patch) | |
tree | a329e526865e356eb417517c3ce370203200ccf4 /sway/tree/view.c | |
parent | Merge pull request #2617 from wmww/cursor-enter-on-focus-change (diff) | |
download | sway-8b263429cfd986d7f78e6e448790d70bd58a40c1.tar.gz sway-8b263429cfd986d7f78e6e448790d70bd58a40c1.tar.zst sway-8b263429cfd986d7f78e6e448790d70bd58a40c1.zip |
Don't use handler_context in view_unmap
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 65ac8b32..bdf4e32a 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -583,7 +583,10 @@ void view_unmap(struct sway_view *view) { | |||
583 | workspace_detect_urgent(ws); | 583 | workspace_detect_urgent(ws); |
584 | } | 584 | } |
585 | 585 | ||
586 | cursor_send_pointer_motion(config->handler_context.seat->cursor, 0, true); | 586 | struct sway_seat *seat; |
587 | wl_list_for_each(seat, &input_manager->seats, link) { | ||
588 | cursor_send_pointer_motion(seat->cursor, 0, true); | ||
589 | } | ||
587 | 590 | ||
588 | transaction_commit_dirty(); | 591 | transaction_commit_dirty(); |
589 | view->surface = NULL; | 592 | view->surface = NULL; |