mirror of
https://github.com/hyprwm/Hyprland
synced 2026-05-07 12:38:03 +02:00
layouts/dwindle: override force after window drags (#14002)
This commit is contained in:
parent
809b9b9e78
commit
aaa2fc342f
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ void CDwindleAlgorithm::addTarget(SP<ITarget> target) {
|
|||
NEWPARENT->children[1] = OPENINGON;
|
||||
}
|
||||
}
|
||||
} else if (*PFORCESPLIT == 0 || m_overrideFocalPoint) {
|
||||
} else if (*PFORCESPLIT == 0 || m_overrideFocalPoint || g_layoutManager->dragController()->wasDraggingWindow()) {
|
||||
if ((SIDEBYSIDE && MOUSECOORDS.x < NEWPARENT->box.x + (NEWPARENT->box.w / 2.F)) || (!SIDEBYSIDE && MOUSECOORDS.y < NEWPARENT->box.y + (NEWPARENT->box.h / 2.F))) {
|
||||
// we are hovering over the first node, make PNODE first.
|
||||
NEWPARENT->children[1] = OPENINGON;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue