mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-07 21:25:58 +01:00
parent
303b9956b2
commit
b573c20125
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue