focus the previous client in the similar code too

This commit is contained in:
Guido Cella 2020-09-04 17:37:48 +02:00
parent 068352e888
commit 2d84c74657

3
dwl.c
View File

@ -606,8 +606,7 @@ arrangelayers(Monitor *m)
&& !wlr_layer_surface_v1_from_wlr_surface(seat->keyboard_state.focused_surface) && !wlr_layer_surface_v1_from_wlr_surface(seat->keyboard_state.focused_surface)
->current.keyboard_interactive ->current.keyboard_interactive
) )
wlr_seat_keyboard_notify_clear_focus(seat); focusclient(NULL, selclient(), 1);
/* XXX recheck keyboard focus */
} }
void void