diff options
author | MightyPlaza <[email protected]> | 2023-07-16 19:00:38 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-07-16 21:00:38 +0200 |
commit | cacdb424a9c6540b56d8d35e632002ae71387381 (patch) | |
tree | 471c013ad80893058073a3da8415c9f5a672f0e9 | |
parent | b156a9654ff3379b8b40e7b03bb832924ba4665e (diff) | |
download | Hyprland-cacdb424a9c6540b56d8d35e632002ae71387381.tar.gz Hyprland-cacdb424a9c6540b56d8d35e632002ae71387381.zip |
massive-fix (#2725)
-rw-r--r-- | src/Compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp index e138dbdc..0929b7c1 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -2348,7 +2348,7 @@ bool CCompositor::isWorkspaceSpecial(const int& id) { } int CCompositor::getNewSpecialID() { - int highest = -100; + int highest = SPECIAL_WORKSPACE_START; for (auto& ws : m_vWorkspaces) { if (ws->m_bIsSpecialWorkspace && ws->m_iID > highest) { highest = ws->m_iID; |