summaryrefslogtreecommitdiff
path: root/src/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Window.cpp')
-rw-r--r--src/Window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Window.cpp b/src/Window.cpp
index 19fb68c2..840944d4 100644
--- a/src/Window.cpp
+++ b/src/Window.cpp
@@ -336,6 +336,8 @@ void CWindow::onUnmap() {
m_vRealSize.setCallbackOnBegin(nullptr);
std::erase_if(g_pCompositor->m_vWindowFocusHistory, [&](const auto& other) { return other == this; });
+
+ m_pWLSurface.unassign();
}
void CWindow::onMap() {