diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-12-07 18:55:56 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-12-07 18:57:02 +0000 |
| commit | e1d7a133334936be2ddd55754787dcdcf4a95515 (patch) | |
| tree | 69f6f2e92defbf29f58588b004966d3a6440d6fb /src/layout/IHyprLayout.cpp | |
| parent | bf5844d60710f68dc5101dac0ff3db008debe30d (diff) | |
unset fullscreen in onWindowRemoved
Diffstat (limited to 'src/layout/IHyprLayout.cpp')
| -rw-r--r-- | src/layout/IHyprLayout.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index d28ee2dc..8cd008a5 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -21,6 +21,9 @@ void IHyprLayout::onWindowCreated(CWindow* pWindow) { } void IHyprLayout::onWindowRemoved(CWindow* pWindow) { + if (pWindow->m_bIsFullscreen) + g_pCompositor->setWindowFullscreen(pWindow, false, FULLSCREEN_FULL); + if (pWindow->m_bIsFloating) { onWindowRemovedFloating(pWindow); } else { |
