mirror of https://github.com/hyprwm/Hyprland
parent
303b9956b2
commit
b573c20125
|
@ -302,7 +302,8 @@ void CMonitor::onDisconnect(bool destroy) {
|
|||
g_pCompositor->m_pLastMonitor = nullptr;
|
||||
}
|
||||
|
||||
activeWorkspace->m_bVisible = false;
|
||||
if (activeWorkspace)
|
||||
activeWorkspace->m_bVisible = false;
|
||||
activeWorkspace.reset();
|
||||
|
||||
if (!destroy)
|
||||
|
|
Loading…
Reference in New Issue