diff options
author | Guido Cella <guido@guidocella.xyz> | 2020-12-20 15:55:52 +0100 |
---|---|---|
committer | Guido Cella <guido@guidocella.xyz> | 2020-12-20 15:55:52 +0100 |
commit | 13c7e039bbd823df6ed8475c1ee1cc90a43d729a (patch) | |
tree | 732771930a077fe9bac03be97889fb8d2886efea | |
parent | a571ea465c545f662c4bc9899a31150e045074d0 (diff) |
deactivate the focused client on overlay focus
-rw-r--r-- | dwl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -621,6 +621,8 @@ arrangelayers(Monitor *m) &m->layers[layers_above_shell[i]], link) { if (layersurface->layer_surface->current.keyboard_interactive && layersurface->layer_surface->mapped) { + // Deactivate the focused client. + focusclient(NULL, false); wlr_seat_keyboard_notify_enter(seat, layersurface->layer_surface->surface, kb->keycodes, kb->num_keycodes, &kb->modifiers); return; |