mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 07:05:58 +01:00
ignore dwindle reload on full window null
This commit is contained in:
parent
c6de4ee4b7
commit
a59641096c
1 changed files with 12 additions and 11 deletions
|
@ -516,9 +516,9 @@ void CHyprDwindleLayout::recalculateMonitor(const int& monid) {
|
|||
// massive hack from the fullscreen func
|
||||
const auto PFULLWINDOW = g_pCompositor->getFullscreenWindowOnWorkspace(PWORKSPACE->m_iID);
|
||||
|
||||
if (!PFULLWINDOW) // ????
|
||||
if (!PFULLWINDOW) { // ????
|
||||
PWORKSPACE->m_bHasFullscreenWindow = false;
|
||||
|
||||
} else {
|
||||
SDwindleNodeData fakeNode;
|
||||
fakeNode.pWindow = PFULLWINDOW;
|
||||
fakeNode.position = PMONITOR->vecPosition + PMONITOR->vecReservedTopLeft;
|
||||
|
@ -531,6 +531,7 @@ void CHyprDwindleLayout::recalculateMonitor(const int& monid) {
|
|||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const auto TOPNODE = getMasterNodeOnWorkspace(PMONITOR->activeWorkspace);
|
||||
|
||||
|
|
Loading…
Reference in a new issue