From 361357095c26c70876e239a37458cb413e537af5 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 20 Mar 2024 18:05:57 +0000 Subject: [PATCH] workspace: fix selectors with special: fixes #5187 --- src/desktop/Workspace.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/desktop/Workspace.cpp b/src/desktop/Workspace.cpp index 5a5e2c06..d5f72384 100644 --- a/src/desktop/Workspace.cpp +++ b/src/desktop/Workspace.cpp @@ -201,6 +201,8 @@ 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:")) { + return m_szName == selector; } else { // parse selector