monitor: unset visible flag from ws on disconnect

ref #5443
This commit is contained in:
Vaxry 2024-04-05 19:25:40 +01:00
parent 965a2e5b21
commit 4909b0f350

View file

@ -302,6 +302,7 @@ void CMonitor::onDisconnect(bool destroy) {
g_pCompositor->m_pLastMonitor = nullptr; g_pCompositor->m_pLastMonitor = nullptr;
} }
activeWorkspace->m_bVisible = false;
activeWorkspace.reset(); activeWorkspace.reset();
if (!destroy) if (!destroy)