workspace: fix special unnamed workspace rules (#5390)

modified:   src/desktop/Workspace.cpp
This commit is contained in:
MightyPlaza 2024-04-02 21:58:45 +00:00 committed by GitHub
parent ef23ef60c5
commit 153c8f35ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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