mirror of
https://github.com/hyprwm/Hyprland.git
synced 2024-09-11 21:27:20 +03:00
dwindle: disallow togglesplit on fullscreen
This commit is contained in:
parent
c4c3b590e5
commit
e4e8ae8f88
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user