From 097ed036477b775624593ac95fdaef12c36ff306 Mon Sep 17 00:00:00 2001 From: William Wold Date: Mon, 10 Sep 2018 17:52:42 -0700 Subject: Minor fix --- sway/tree/view.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sway/tree/view.c') 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) { workspace_detect_urgent(ws); } + cursor_send_pointer_motion(config->handler_context.seat->cursor, 0, true); + transaction_commit_dirty(); view->surface = NULL; - cursor_send_pointer_motion(config->handler_context.seat->cursor, 0, true); } void view_update_size(struct sway_view *view, int width, int height) { -- cgit v1.2.3-54-g00ecf