From 22c5dd8a028252039a4fc9243b1f747ab8541cf8 Mon Sep 17 00:00:00 2001 From: William Wold Date: Mon, 10 Sep 2018 10:03:53 -0700 Subject: Minor fix --- sway/tree/view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { } transaction_commit_dirty(); - cursor_send_pointer_motion(config->handler_context.seat->cursor, 0, true); 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-70-g09d2