aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMightyPlaza <[email protected]>2023-07-16 19:00:38 +0000
committerGitHub <[email protected]>2023-07-16 21:00:38 +0200
commitcacdb424a9c6540b56d8d35e632002ae71387381 (patch)
tree471c013ad80893058073a3da8415c9f5a672f0e9
parentb156a9654ff3379b8b40e7b03bb832924ba4665e (diff)
downloadHyprland-cacdb424a9c6540b56d8d35e632002ae71387381.tar.gz
Hyprland-cacdb424a9c6540b56d8d35e632002ae71387381.zip
massive-fix (#2725)
-rw-r--r--src/Compositor.cpp2
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;