mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 05:29:48 +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);
|
const auto WINDOWSONWORKSPACE = getWindowsOnWorkspace((*it)->m_iID);
|
||||||
|
|
||||||
if ((*it)->m_bIsSpecialWorkspace && WINDOWSONWORKSPACE == 0) {
|
if ((*it)->m_bIsSpecialWorkspace && WINDOWSONWORKSPACE == 0) {
|
||||||
getMonitorFromID((*it)->m_iMonitorID)->specialWorkspaceID = 0;
|
getMonitorFromID((*it)->m_iMonitorID)->setSpecialWorkspace(nullptr);
|
||||||
|
|
||||||
it = m_vWorkspaces.erase(it);
|
it = m_vWorkspaces.erase(it);
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue