diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-05 15:19:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-05 20:19:49 +0100 |
| commit | aaa2fc342f002bf4acd965f1ad2ead3796347e35 (patch) | |
| tree | 3ea89b3a676648f0f93fc395bc6730caf8a79aa4 /src/layout/algorithm/tiled | |
| parent | 809b9b9e78c69c53b62dfc7d5de5c20ff8fe0626 (diff) | |
layouts/dwindle: override force after window drags (#14002)
Diffstat (limited to 'src/layout/algorithm/tiled')
| -rw-r--r-- | src/layout/algorithm/tiled/dwindle/DwindleAlgorithm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/algorithm/tiled/dwindle/DwindleAlgorithm.cpp b/src/layout/algorithm/tiled/dwindle/DwindleAlgorithm.cpp index 78ed9480..642f5095 100644 --- a/src/layout/algorithm/tiled/dwindle/DwindleAlgorithm.cpp +++ b/src/layout/algorithm/tiled/dwindle/DwindleAlgorithm.cpp @@ -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; |
