aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Cella <guidocella91@gmail.com>2020-09-04 17:37:48 +0200
committerGuido Cella <guidocella91@gmail.com>2020-09-04 17:38:04 +0200
commit2d84c7465784d58f6d5a924a2d393055f2f710eb (patch)
tree160a8f2898fcc5ffcfc04b64a2425a555a675e0a
parent068352e88895d4a591643c55531135acdc52988a (diff)
focus the previous client in the similar code too
-rw-r--r--dwl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/dwl.c b/dwl.c
index 76ba652..d711361 100644
--- a/dwl.c
+++ b/dwl.c
@@ -606,8 +606,7 @@ arrangelayers(Monitor *m)
&& !wlr_layer_surface_v1_from_wlr_surface(seat->keyboard_state.focused_surface)
->current.keyboard_interactive
)
- wlr_seat_keyboard_notify_clear_focus(seat);
- /* XXX recheck keyboard focus */
+ focusclient(NULL, selclient(), 1);
}
void