aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/desktop/Workspace.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-03-20 18:05:57 +0000
committerVaxry <[email protected]>2024-03-20 18:06:03 +0000
commit361357095c26c70876e239a37458cb413e537af5 (patch)
tree118c1fb2db985e771f329a696586a4604efe24fc /src/desktop/Workspace.cpp
parent9ddf1b105e1b63a77b851af5e541a9412b0e0928 (diff)
downloadHyprland-361357095c26c70876e239a37458cb413e537af5.tar.gz
Hyprland-361357095c26c70876e239a37458cb413e537af5.zip
workspace: fix selectors with special:
fixes #5187
Diffstat (limited to 'src/desktop/Workspace.cpp')
-rw-r--r--src/desktop/Workspace.cpp2
1 files changed, 2 insertions, 0 deletions
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