diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-11-20 16:57:31 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-20 16:57:31 +0000 |
| commit | c249a9f4b8940d7356b756dc639f9cb18713e088 (patch) | |
| tree | 590c1bd3aaba5217595c3138b566fa7bd8bbf0b9 /src/managers/KeybindManager.cpp | |
| parent | 00cce1c8ffa1be75dd94de83063d179b45c0831f (diff) | |
windowrules: fix group rule recalcs (#12403)
Diffstat (limited to 'src/managers/KeybindManager.cpp')
| -rw-r--r-- | src/managers/KeybindManager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp index feee0369..1d35185b 100644 --- a/src/managers/KeybindManager.cpp +++ b/src/managers/KeybindManager.cpp @@ -1769,11 +1769,10 @@ SDispatchResult CKeybindManager::changeGroupActive(std::string args) { return {}; } - if (args != "b" && args != "prev") { + if (args != "b" && args != "prev") PWINDOW->setGroupCurrent(PWINDOW->m_groupData.pNextWindow.lock()); - } else { + else PWINDOW->setGroupCurrent(PWINDOW->getGroupPrevious()); - } return {}; } |
