mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-22 18:49:49 +01:00
fix fullscreen maximize size
This commit is contained in:
parent
bee06f3507
commit
6553fb5a40
2 changed files with 0 additions and 12 deletions
|
@ -178,12 +178,6 @@ void CHyprDwindleLayout::applyNodeDataToWindow(SDwindleNodeData* pNode, bool for
|
|||
return;
|
||||
}
|
||||
|
||||
if (PWINDOW->m_bIsFullscreen) {
|
||||
PWINDOW->m_vRealSize = PMONITOR->vecSize;
|
||||
PWINDOW->m_vRealPosition = PMONITOR->vecPosition;
|
||||
return;
|
||||
}
|
||||
|
||||
PWINDOW->m_vSize = pNode->size;
|
||||
PWINDOW->m_vPosition = pNode->position;
|
||||
|
||||
|
|
|
@ -236,12 +236,6 @@ void CHyprMasterLayout::applyNodeDataToWindow(SMasterNodeData* pNode) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (PWINDOW->m_bIsFullscreen) {
|
||||
PWINDOW->m_vRealSize = PMONITOR->vecSize;
|
||||
PWINDOW->m_vRealPosition = PMONITOR->vecPosition;
|
||||
return;
|
||||
}
|
||||
|
||||
static auto *const PNOGAPSWHENONLY = &g_pConfigManager->getConfigValuePtr("master:no_gaps_when_only")->intValue;
|
||||
|
||||
PWINDOW->m_vSize = pNode->size;
|
||||
|
|
Loading…
Reference in a new issue