commit bb5b8935904d22ba2912e910cd88b770868b155b
parent fc7952d76224858959deb2e406ae1d722ecacc51
Author: deurzen <max@deurzen.net>
Date: Thu, 2 Jun 2022 08:57:49 +0200
fixes persistent layout focus-change rearrangement
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kranewl/model.cc b/src/kranewl/model.cc
@@ -387,7 +387,7 @@ Model::sync_focus()
mp_focus->focus(Toggle::Off);
if (active) {
- active->focus(Toggle::On);
+ focus_view(active);
mp_focus = active;
} else if (mp_workspace->empty()) {
mp_server->relinquish_focus();