From 10303259f7c6f3e64e74e9ca8a31d4223071d5f0 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 22 Oct 2022 22:10:34 +0100 Subject: [PATCH] always report sizes after a window unmap --- src/events/Windows.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp index 7a98aa88..1235176a 100644 --- a/src/events/Windows.cpp +++ b/src/events/Windows.cpp @@ -602,6 +602,9 @@ void Events::listener_unmapWindow(void* owner, void* data) { // recheck idle inhibitors g_pInputManager->recheckIdleInhibitorStatus(); + + // force report all sizes (QT sometimes has an issue with this) + g_pCompositor->forceReportSizesToWindowsOnWorkspace(PWINDOW->m_iWorkspaceID); } void Events::listener_commitWindow(void* owner, void* data) {