Window: add destroy signal

This commit is contained in:
Vaxry
2024-04-21 16:28:50 +01:00
parent e69bc5b870
commit e823b5d693
3 changed files with 8 additions and 1 deletions

View File

@@ -26,6 +26,8 @@ CWindow::~CWindow() {
g_pCompositor->m_pLastWindow = nullptr;
}
events.destroy.emit();
if (!g_pHyprOpenGL)
return;