aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-10-24 12:28:41 +0100
committervaxerski <[email protected]>2022-10-24 12:28:41 +0100
commit077c1491a8590488256aa8cb207b3e4ed7f05f88 (patch)
treeefebcce5191dcf5f349a0c2b5a68f46d046d680e /src
parentc04563734e0482bd10045c70d9d85177e5448143 (diff)
downloadHyprland-077c1491a8590488256aa8cb207b3e4ed7f05f88.tar.gz
Hyprland-077c1491a8590488256aa8cb207b3e4ed7f05f88.zip
respect nofocus in candidate searching
Diffstat (limited to 'src')
-rw-r--r--src/layout/IHyprLayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp
index bef56f78..2636c1aa 100644
--- a/src/layout/IHyprLayout.cpp
+++ b/src/layout/IHyprLayout.cpp
@@ -384,7 +384,7 @@ CWindow* IHyprLayout::getNextWindowCandidate(CWindow* pWindow) {
// if not, floating window
for (auto& w : g_pCompositor->m_vWindows) {
- if (w->m_bIsMapped && !w->isHidden() && w->m_bIsFloating && w->m_iX11Type != 2 && w->m_iWorkspaceID == pWindow->m_iWorkspaceID && !w->m_bX11ShouldntFocus)
+ if (w->m_bIsMapped && !w->isHidden() && w->m_bIsFloating && w->m_iX11Type != 2 && w->m_iWorkspaceID == pWindow->m_iWorkspaceID && !w->m_bX11ShouldntFocus && !w->m_bNoFocus)
return w.get();
}