aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorWilliam Wold <wm@wmww.sh>2018-09-10 10:03:53 -0700
committerWilliam Wold <wm@wmww.sh>2018-09-10 10:18:12 -0700
commit22c5dd8a028252039a4fc9243b1f747ab8541cf8 (patch)
tree8b0b06993da400c8bf4c4133a384ddb203dbf60a /sway
parent9a080192672d89b519933f5a16161ba83a597738 (diff)
Minor fix
Diffstat (limited to 'sway')
-rw-r--r--sway/tree/view.c2
1 files changed, 1 insertions, 1 deletions
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) {