diff options
| author | Guido Cella <guidocella91@gmail.com> | |
|---|---|---|
| 2020-09-04 17:21:48 +0200 | ||
| committer | Guido Cella <guidocella91@gmail.com> | |
| 2020-09-04 17:21:48 +0200 | ||
| commit | 068352e88895d4a591643c55531135acdc52988a (patch) | |
| tree | 6a077ea027914a51821dd610b3361245597f34da /dwl.c | |
| parent | 4341deae8ff372fec198fb587f93613dc19cb4a2 (diff) | |
| download | dwl-068352e88895d4a591643c55531135acdc52988a.tar.gz dwl-068352e88895d4a591643c55531135acdc52988a.tar.bz2 dwl-068352e88895d4a591643c55531135acdc52988a.zip | |
refocus old client
When a layer surface is destroyed focus should be returned to the last
client. Luckily if there are multiple overlays the previous overlay
still gets focused.
@@ -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? } |