summaryrefslogtreecommitdiff
path: root/src/managers/KeybindManager.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2023-02-19 22:14:37 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2023-02-19 22:14:37 +0000
commitdf2956b411bd9b8c3fbc750bfcc3e7268a59d739 (patch)
treea31d421e506ac447acd0d45d63c63d934c35437f /src/managers/KeybindManager.cpp
parente5a4c0c986f72813e8822f31ed3d5fa6be1b6c13 (diff)
ignore hidden in allfloat
Diffstat (limited to 'src/managers/KeybindManager.cpp')
-rw-r--r--src/managers/KeybindManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/KeybindManager.cpp b/src/managers/KeybindManager.cpp
index 305cd9d6..b47f8d67 100644
--- a/src/managers/KeybindManager.cpp
+++ b/src/managers/KeybindManager.cpp
@@ -1434,7 +1434,7 @@ void CKeybindManager::workspaceOpt(std::string args) {
ptrs.push_back(w.get());
for (auto& w : ptrs) {
- if (!w->m_bIsMapped || w->m_iWorkspaceID != PWORKSPACE->m_iID)
+ if (!w->m_bIsMapped || w->m_iWorkspaceID != PWORKSPACE->m_iID || w->isHidden())
continue;
if (!w->m_bRequestsFloat && w->m_bIsFloating != PWORKSPACE->m_bDefaultFloating) {