more monitor checks for shutdown:

This commit is contained in:
vaxerski
2022-10-06 18:43:50 +01:00
parent ee3b770cfd
commit 0508c7d384
2 changed files with 5 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ void CMonitor::onConnect(bool noRule) {
void CMonitor::onDisconnect() {
if (!m_bEnabled)
if (!m_bEnabled || g_pCompositor->m_bIsShuttingDown)
return;
// Cleanup everything. Move windows back, snap cursor, shit.