From a49bbf450881581e27696405ebaefef63f7bde7a Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 5 Apr 2022 20:49:15 +0200 Subject: =?UTF-8?q?fadeout=20done=20=F0=9F=8E=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/events/Windows.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/events/Windows.cpp') 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 -- cgit v1.2.3