aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2023-02-28 12:34:59 +0000
committervaxerski <[email protected]>2023-02-28 12:34:59 +0000
commitac251d7a66ec3cbd18c15f29c4f54d33d54f1b13 (patch)
tree13c14559fd0166f83447b80b95b9c51d0038f015 /src/Compositor.cpp
parent49f423aa8f9b6e063c7806098a9b6b43a7978c02 (diff)
downloadHyprland-ac251d7a66ec3cbd18c15f29c4f54d33d54f1b13.tar.gz
Hyprland-ac251d7a66ec3cbd18c15f29c4f54d33d54f1b13.zip
allow focus to grouped windows
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index fe81196c..9346dd9c 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -2050,7 +2050,7 @@ CWindow* CCompositor::getWindowByRegex(const std::string& regexp) {
}
for (auto& w : g_pCompositor->m_vWindows) {
- if (!w->m_bIsMapped || w->isHidden())
+ if (!w->m_bIsMapped || (w->isHidden() && !w->m_sGroupData.pNextWindow))
continue;
switch (mode) {