From 153c8f35ce5f24b066de916269a94fce1d4f3357 Mon Sep 17 00:00:00 2001 From: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> Date: Tue, 2 Apr 2024 21:58:45 +0000 Subject: [PATCH] workspace: fix special unnamed workspace rules (#5390) modified: src/desktop/Workspace.cpp --- src/desktop/Workspace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/desktop/Workspace.cpp b/src/desktop/Workspace.cpp index ccb0fa25..8e49c998 100644 --- a/src/desktop/Workspace.cpp +++ b/src/desktop/Workspace.cpp @@ -233,7 +233,7 @@ bool CWorkspace::matchesStaticSelector(const std::string& selector_) { } else if (selector.starts_with("name:")) { return m_szName == selector.substr(5); - } else if (selector.starts_with("special:")) { + } else if (selector.starts_with("special")) { return m_szName == selector; } else { // parse selector