aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/view.c
diff options
context:
space:
mode:
authorLibravatar William Wold <wm@wmww.sh>2018-09-10 17:52:42 -0700
committerLibravatar William Wold <wm@wmww.sh>2018-09-10 17:52:42 -0700
commit097ed036477b775624593ac95fdaef12c36ff306 (patch)
tree8cf1710d23edfe1da01da72338197b348288922d /sway/tree/view.c
parentMinor fix (diff)
downloadsway-097ed036477b775624593ac95fdaef12c36ff306.tar.gz
sway-097ed036477b775624593ac95fdaef12c36ff306.tar.zst
sway-097ed036477b775624593ac95fdaef12c36ff306.zip
Minor fix
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r--sway/tree/view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index 981d82c9..65ac8b32 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -583,9 +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);
587
586 transaction_commit_dirty(); 588 transaction_commit_dirty();
587 view->surface = NULL; 589 view->surface = NULL;
588 cursor_send_pointer_motion(config->handler_context.seat->cursor, 0, true);
589} 590}
590 591
591void view_update_size(struct sway_view *view, int width, int height) { 592void view_update_size(struct sway_view *view, int width, int height) {