From e4e8ae8f885104bb948afa24f1cd9fc3bdb450e9 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Thu, 10 Aug 2023 22:01:16 +0200 Subject: [PATCH] dwindle: disallow togglesplit on fullscreen --- src/layout/DwindleLayout.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index d544fa4c..cbf1cb99 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -1005,6 +1005,9 @@ void CHyprDwindleLayout::toggleSplit(CWindow* pWindow) { if (!PNODE || !PNODE->pParent) return; + if (pWindow->m_bIsFullscreen) + return; + PNODE->pParent->splitTop = !PNODE->pParent->splitTop; PNODE->pParent->recalcSizePosRecursive();