From 4909b0f350f9d3b07a95c62e3ed51981f332b98f Mon Sep 17 00:00:00 2001 From: Vaxry Date: Fri, 5 Apr 2024 19:25:40 +0100 Subject: [PATCH] monitor: unset visible flag from ws on disconnect ref #5443 --- src/helpers/Monitor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index 80a806d0..74b77b98 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -302,6 +302,7 @@ void CMonitor::onDisconnect(bool destroy) { g_pCompositor->m_pLastMonitor = nullptr; } + activeWorkspace->m_bVisible = false; activeWorkspace.reset(); if (!destroy)