aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-09-08 23:02:29 +0200
committervaxerski <[email protected]>2022-09-08 23:02:29 +0200
commit928158bbfb906bd871738d60610d85634d1f8c7e (patch)
treeb026212749d4a13fd0496cdf38a66957822c9df0
parentbacfae3084cc66b2b0574d21c43ed5811e34ef86 (diff)
downloadHyprland-928158bbfb906bd871738d60610d85634d1f8c7e.tar.gz
Hyprland-928158bbfb906bd871738d60610d85634d1f8c7e.zip
prevent missed surface size updates on fullscreen window closev0.13.1beta
-rw-r--r--src/events/Windows.cpp1
1 files changed, 1 insertions, 0 deletions
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.