diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-05 20:49:15 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-04-05 20:49:15 +0200 |
| commit | a49bbf450881581e27696405ebaefef63f7bde7a (patch) | |
| tree | 2c5cd3ecc24b9138f5f8f087350fe9e71a6b6e90 /src/events/Windows.cpp | |
| parent | f8e0b0b448b8b68f65ee1c3eebdd4eb3e3382138 (diff) | |
fadeout done 🎉
Diffstat (limited to 'src/events/Windows.cpp')
| -rw-r--r-- | src/events/Windows.cpp | 3 |
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 |
