fix fullscreen maximize size

This commit is contained in:
vaxerski 2022-11-05 18:25:32 +00:00
parent bee06f3507
commit 6553fb5a40
2 changed files with 0 additions and 12 deletions

View File

@ -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;

View File

@ -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;