mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 21:27:20 +03:00
dwindle: fix: don't merge groups when moving window (#3302)
This commit is contained in:
parent
f6473aa3ad
commit
0dc8289b02
@ -318,8 +318,8 @@ void CHyprDwindleLayout::onWindowCreatedTiling(CWindow* pWindow, eDirection dire
|
|||||||
}
|
}
|
||||||
|
|
||||||
// if it's a group, add the window
|
// if it's a group, add the window
|
||||||
if (OPENINGON->pWindow->m_sGroupData.pNextWindow && !OPENINGON->pWindow->getGroupHead()->m_sGroupData.locked &&
|
if (OPENINGON->pWindow->m_sGroupData.pNextWindow && !OPENINGON->pWindow->getGroupHead()->m_sGroupData.locked && !g_pKeybindManager->m_bGroupsLocked &&
|
||||||
!g_pKeybindManager->m_bGroupsLocked) { // target is an unlocked group
|
!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 || !pWindow->getGroupHead()->m_sGroupData.locked) { // source is not a group or an unlocked group
|
||||||
if (!pWindow->m_sGroupData.pNextWindow)
|
if (!pWindow->m_sGroupData.pNextWindow)
|
||||||
|
Loading…
Reference in New Issue
Block a user