massive-fix (#2725)

This commit is contained in:
MightyPlaza 2023-07-16 19:00:38 +00:00 committed by GitHub
parent b156a9654f
commit cacdb424a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2348,7 +2348,7 @@ bool CCompositor::isWorkspaceSpecial(const int& id) {
} }
int CCompositor::getNewSpecialID() { int CCompositor::getNewSpecialID() {
int highest = -100; int highest = SPECIAL_WORKSPACE_START;
for (auto& ws : m_vWorkspaces) { for (auto& ws : m_vWorkspaces) {
if (ws->m_bIsSpecialWorkspace && ws->m_iID > highest) { if (ws->m_bIsSpecialWorkspace && ws->m_iID > highest) {
highest = ws->m_iID; highest = ws->m_iID;