Minor fix

This commit is contained in:
William Wold 2018-09-10 17:52:42 -07:00
parent 22c5dd8a02
commit 097ed03647

View File

@ -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) {