summaryrefslogtreecommitdiff
path: root/src/events/Windows.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/Windows.cpp')
-rw-r--r--src/events/Windows.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/events/Windows.cpp b/src/events/Windows.cpp
index 3a00041d..4ce53697 100644
--- a/src/events/Windows.cpp
+++ b/src/events/Windows.cpp
@@ -171,6 +171,9 @@ void Events::listener_unmapWindow(void* owner, void* data) {
g_pCompositor->m_pLastFocus = nullptr;
}
+ // Allow the renderer to catch the last frame.
+ g_pHyprOpenGL->makeWindowSnapshot(PWINDOW);
+
PWINDOW->m_bMappedX11 = false;
// remove the fullscreen window status from workspace if we closed it