aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/desktop/Workspace.cpp
diff options
context:
space:
mode:
authorMightyPlaza <[email protected]>2024-04-02 21:58:45 +0000
committerGitHub <[email protected]>2024-04-02 22:58:45 +0100
commit153c8f35ce5f24b066de916269a94fce1d4f3357 (patch)
tree3f86ab2704dfeb8f4e69c366aa1f4e803ad7b556 /src/desktop/Workspace.cpp
parentef23ef60c5641c5903f9cf40571ead7ad6aba1b9 (diff)
downloadHyprland-153c8f35ce5f24b066de916269a94fce1d4f3357.tar.gz
Hyprland-153c8f35ce5f24b066de916269a94fce1d4f3357.zip
workspace: fix special unnamed workspace rules (#5390)
modified: src/desktop/Workspace.cpp
Diffstat (limited to 'src/desktop/Workspace.cpp')
-rw-r--r--src/desktop/Workspace.cpp2
1 files changed, 1 insertions, 1 deletions
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