summaryrefslogtreecommitdiff
path: root/src/desktop/Window.cpp
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2024-04-21 16:28:50 +0100
committerVaxry <vaxry@vaxry.net>2024-04-21 16:54:50 +0100
commite823b5d6930af15c1a9c1d76682e8e7be4a0eeb6 (patch)
treee5cb3d2d63ae273e2eb2271b8226e7ac9c6324f4 /src/desktop/Window.cpp
parente69bc5b87042b27e4f29601346ddbcac364d38cf (diff)
Window: add destroy signal
Diffstat (limited to 'src/desktop/Window.cpp')
-rw-r--r--src/desktop/Window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp
index 35b4ff97..5310ecae 100644
--- a/src/desktop/Window.cpp
+++ b/src/desktop/Window.cpp
@@ -26,6 +26,8 @@ CWindow::~CWindow() {
g_pCompositor->m_pLastWindow = nullptr;
}
+ events.destroy.emit();
+
if (!g_pHyprOpenGL)
return;