mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 19:05:58 +01:00
internal: use setSpecialWorkspace on destroy in sanityCheck
This commit is contained in:
parent
f80f4f3194
commit
c62ab1bee7
1 changed files with 1 additions and 1 deletions
|
@ -1096,7 +1096,7 @@ void CCompositor::sanityCheckWorkspaces() {
|
|||
const auto WINDOWSONWORKSPACE = getWindowsOnWorkspace((*it)->m_iID);
|
||||
|
||||
if ((*it)->m_bIsSpecialWorkspace && WINDOWSONWORKSPACE == 0) {
|
||||
getMonitorFromID((*it)->m_iMonitorID)->specialWorkspaceID = 0;
|
||||
getMonitorFromID((*it)->m_iMonitorID)->setSpecialWorkspace(nullptr);
|
||||
|
||||
it = m_vWorkspaces.erase(it);
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue