diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-11 14:13:15 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-11 14:13:15 +0200 |
| commit | 2936368e8070fc53dd4095a786be4d92d20c4158 (patch) | |
| tree | eda9785297ecd2d26993b6698f8f769cb9a95c37 /src/layout/DwindleLayout.cpp | |
| parent | 5eaf93697ad2ee1c594373f68d76f7620eb46712 (diff) | |
minor event fixes
Diffstat (limited to 'src/layout/DwindleLayout.cpp')
| -rw-r--r-- | src/layout/DwindleLayout.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index 7f94cd82..459e4c24 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -522,6 +522,8 @@ void CHyprDwindleLayout::fullscreenRequestForWindow(CWindow* pWindow, eFullscree pWindow->m_bIsFullscreen = on; PWORKSPACE->m_bHasFullscreenWindow = !PWORKSPACE->m_bHasFullscreenWindow; + g_pEventManager->postEvent(SHyprIPCEvent("fullscreen", std::to_string((int)on))); + if (!pWindow->m_bIsFullscreen) { // if it got its fullscreen disabled, set back its node if it had one const auto PNODE = getNodeFromWindow(pWindow); |
