unset fullscreen in onWindowRemoved
Some checks failed
Build Hyprland / Build Hyprland (Arch) (push) Has been cancelled
Build Hyprland / Build Hyprland with Meson (Arch) (push) Has been cancelled
Build Hyprland / Build Hyprland in pure Wayland (Arch) (push) Has been cancelled
Build Hyprland (Nix) / Build Hyprland (Nix) (push) Has been cancelled
Build Hyprland (Nix) / Build Hyprland (Nix)-1 (push) Has been cancelled
Nix: update lockfile / update (push) Has been cancelled

This commit is contained in:
vaxerski 2022-12-07 18:55:56 +00:00
parent bf5844d607
commit e1d7a13333
2 changed files with 4 additions and 2 deletions

View file

@ -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 {