From 2d84c7465784d58f6d5a924a2d393055f2f710eb Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Fri, 4 Sep 2020 17:37:48 +0200 Subject: focus the previous client in the similar code too --- dwl.c | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3