more monitor checks for shutdown:
This commit is contained in:
parent
ee3b770cfd
commit
0508c7d384
2 changed files with 5 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue