mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-05 14:42:01 -07:00
dwindle: disallow togglesplit on fullscreen
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user