aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormemchr <[email protected]>2023-09-14 10:56:29 +0000
committerGitHub <[email protected]>2023-09-14 11:56:29 +0100
commit0dc8289b0292d3c3c35a06fdecbe41cd57a1a918 (patch)
tree1a7928d74afd4c3a1801bad355329331d286ef1d
parentf6473aa3adacb5fbd63fda7c39cc2e9fd9540e6a (diff)
downloadHyprland-0dc8289b0292d3c3c35a06fdecbe41cd57a1a918.tar.gz
Hyprland-0dc8289b0292d3c3c35a06fdecbe41cd57a1a918.zip
dwindle: fix: don't merge groups when moving window (#3302)
-rw-r--r--src/layout/DwindleLayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp
index e700e399..a0da8771 100644
--- a/src/layout/DwindleLayout.cpp
+++ b/src/layout/DwindleLayout.cpp
@@ -318,8 +318,8 @@ void CHyprDwindleLayout::onWindowCreatedTiling(CWindow* pWindow, eDirection dire
}
// if it's a group, add the window
- if (OPENINGON->pWindow->m_sGroupData.pNextWindow && !OPENINGON->pWindow->getGroupHead()->m_sGroupData.locked &&
- !g_pKeybindManager->m_bGroupsLocked) { // target is an unlocked group
+ if (OPENINGON->pWindow->m_sGroupData.pNextWindow && !OPENINGON->pWindow->getGroupHead()->m_sGroupData.locked && !g_pKeybindManager->m_bGroupsLocked &&
+ !m_vOverrideFocalPoint) { // target is an unlocked group
if (!pWindow->m_sGroupData.pNextWindow || !pWindow->getGroupHead()->m_sGroupData.locked) { // source is not a group or an unlocked group
if (!pWindow->m_sGroupData.pNextWindow)