diff --git a/CHANGELOG.md b/CHANGELOG.md index 52aa26a..31c6a96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +# Upcoming +- Fixed IPC and wlr-foreign-toplevel not getting fullscreen and maximize events. + ## hl0.40.0 and before - Added `hy3:warpcursor` dispatcher to warp cursor to current node. diff --git a/src/Hy3Layout.cpp b/src/Hy3Layout.cpp index 12963f8..dad8404 100644 --- a/src/Hy3Layout.cpp +++ b/src/Hy3Layout.cpp @@ -503,6 +503,12 @@ void Hy3Layout::fullscreenRequestForWindow( window->m_bIsFullscreen = on; window->m_pWorkspace->m_bHasFullscreenWindow = !window->m_pWorkspace->m_bHasFullscreenWindow; + window->updateDynamicRules(); + window->updateWindowDecos(); + + g_pEventManager->postEvent(SHyprIPCEvent {"fullscreen", std::to_string((int) on)}); + EMIT_HOOK_EVENT("fullscreen", window); + if (!window->m_bIsFullscreen) { auto* node = this->getNodeFromWindow(window);