summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/dwl.c b/dwl.c
index 529c0c7..76ba652 100644
--- a/dwl.c
+++ b/dwl.c
@@ -2092,9 +2092,7 @@ unmaplayersurface(LayerSurface *layersurface)
{
if (layersurface->layer_surface->surface ==
seat->keyboard_state.focused_surface)
- wlr_seat_keyboard_notify_clear_focus(seat);
-
- /* XXX recheck keyboard focus */
+ focusclient(NULL, selclient(), 1);
motionnotify(0); // XXX why doesn't this work?
}