commit 097ed036477b775624593ac95fdaef12c36ff306
parent 22c5dd8a028252039a4fc9243b1f747ab8541cf8
Author: William Wold <wm@wmww.sh>
Date: Mon, 10 Sep 2018 17:52:42 -0700
Minor fix
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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) {