aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/tree/view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 10c48e2e..981d82c9 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -584,8 +584,8 @@ void view_unmap(struct sway_view *view) {
584 } 584 }
585 585
586 transaction_commit_dirty(); 586 transaction_commit_dirty();
587 cursor_send_pointer_motion(config->handler_context.seat->cursor, 0, true);
588 view->surface = NULL; 587 view->surface = NULL;
588 cursor_send_pointer_motion(config->handler_context.seat->cursor, 0, true);
589} 589}
590 590
591void view_update_size(struct sway_view *view, int width, int height) { 591void view_update_size(struct sway_view *view, int width, int height) {