diff options
| author | vaxerski <vaxry@vaxry.net> | 2024-01-02 14:21:22 +0100 |
|---|---|---|
| committer | vaxerski <vaxry@vaxry.net> | 2024-01-02 14:21:36 +0100 |
| commit | 813af393f1b61ecd0105e126681986e58e73ffee (patch) | |
| tree | 33e2391c0c8fcfe0e554e3acf36487f5ed140922 /src/layout/MasterLayout.cpp | |
| parent | 583b05a8c67772e96e534e37e21b608fb5723546 (diff) | |
layout: update rules before applying fullscreen nodes in layouts
Diffstat (limited to 'src/layout/MasterLayout.cpp')
| -rw-r--r-- | src/layout/MasterLayout.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index 65f85691..63389c3a 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -883,6 +883,9 @@ void CHyprMasterLayout::fullscreenRequestForWindow(CWindow* pWindow, eFullscreen pWindow->m_bIsFullscreen = on; PWORKSPACE->m_bHasFullscreenWindow = !PWORKSPACE->m_bHasFullscreenWindow; + pWindow->updateDynamicRules(); + pWindow->updateWindowDecos(); + g_pEventManager->postEvent(SHyprIPCEvent{"fullscreen", std::to_string((int)on)}); EMIT_HOOK_EVENT("fullscreen", pWindow); |
