diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-11-04 15:56:31 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-11-04 15:56:31 +0000 |
| commit | 206360177fcae23436928542ed860c854b985db4 (patch) | |
| tree | c60b5cd406d79d14ef3dd88bcf615e7c1734e18b /src/layout/MasterLayout.cpp | |
| parent | 34ad837fd93a55c2a234381c9077fba1c2fd154c (diff) | |
Multiple animation optimization and xwayland wine fixes
Diffstat (limited to 'src/layout/MasterLayout.cpp')
| -rw-r--r-- | src/layout/MasterLayout.cpp | 6 |
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; |
