From 928158bbfb906bd871738d60610d85634d1f8c7e Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Thu, 8 Sep 2022 23:02:29 +0200 Subject: prevent missed surface size updates on fullscreen window close --- src/events/Windows.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 773b9a88..17eaeeb1 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -402,6 +402,7 @@ void Events::listener_unmapWindow(void* owner, void* data) { if (PWINDOW->m_bIsFullscreen) { g_pLayoutManager->getCurrentLayout()->fullscreenRequestForWindow(PWINDOW, FULLSCREEN_FULL, false); g_pXWaylandManager->setWindowFullscreen(PWINDOW, PWINDOW->m_bIsFullscreen); + g_pCompositor->forceReportSizesToWindowsOnWorkspace(PWINDOW->m_iWorkspaceID); } // Allow the renderer to catch the last frame. -- cgit v1.2.3