aboutsummaryrefslogtreecommitdiff
path: root/rootston/cursor.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-10-06 15:39:39 +0200
committeremersion <contact@emersion.fr>2017-10-06 16:03:35 +0200
commit972e9dbd1b2eb2853a60632d279bd754daf7c440 (patch)
tree8005b87e755b170794842d597d206bafc07fd6a5 /rootston/cursor.c
parent8ff548cdbaf5ea4e20758d6ee58d6db0c4daf8cd (diff)
Add close command, add close for xwayland
Diffstat (limited to 'rootston/cursor.c')
-rw-r--r--rootston/cursor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootston/cursor.c b/rootston/cursor.c
index 0ca45f16..9c4b0dd8 100644
--- a/rootston/cursor.c
+++ b/rootston/cursor.c
@@ -133,6 +133,7 @@ static void set_view_focus(struct roots_input *input,
if (!view) {
return;
}
+ input->last_active_view = view;
size_t index = 0;
for (size_t i = 0; i < desktop->views->length; ++i) {