diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index ab37f5e2..e521a17d 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -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; diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index a9ee7daa..f8b8f9a2 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -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;