summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Compositor.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 4c1861e4..73625068 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -2310,6 +2310,11 @@ void CCompositor::setWindowFullscreenState(const PHLWINDOW PWINDOW, Desktop::Vie
PWINDOW->sendWindowSize(true);
+ // recheck the work area again because visibility checks report 1 window on fs / maximize as tiled + visible
+ // because the windows below fs are not visible obviously but because we update fullscreen fade which sets that
+ // state later, it does it wrong
+ PWORKSPACE->updateWindows();
+ PWORKSPACE->m_space->recalculate();
PWORKSPACE->forceReportSizesToWindows();
g_pInputManager->recheckIdleInhibitorStatus();