summaryrefslogtreecommitdiff
path: root/src/layout/MasterLayout.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-04 15:56:31 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-04 15:56:31 +0000
commit206360177fcae23436928542ed860c854b985db4 (patch)
treec60b5cd406d79d14ef3dd88bcf615e7c1734e18b /src/layout/MasterLayout.cpp
parent34ad837fd93a55c2a234381c9077fba1c2fd154c (diff)
Multiple animation optimization and xwayland wine fixes
Diffstat (limited to 'src/layout/MasterLayout.cpp')
-rw-r--r--src/layout/MasterLayout.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp
index f8b8f9a2..a9ee7daa 100644
--- a/src/layout/MasterLayout.cpp
+++ b/src/layout/MasterLayout.cpp
@@ -236,6 +236,12 @@ 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;