diff options
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 53215b40..65ac8b32 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c @@ -14,6 +14,7 @@ #include "sway/criteria.h" #include "sway/commands.h" #include "sway/desktop/transaction.h" +#include "sway/input/cursor.h" #include "sway/ipc-server.h" #include "sway/output.h" #include "sway/input/seat.h" @@ -582,6 +583,8 @@ void view_unmap(struct sway_view *view) { workspace_detect_urgent(ws); } + cursor_send_pointer_motion(config->handler_context.seat->cursor, 0, true); + transaction_commit_dirty(); view->surface = NULL; } |