diff options
author | Vaxry <[email protected]> | 2024-03-20 18:05:57 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-03-20 18:06:03 +0000 |
commit | 361357095c26c70876e239a37458cb413e537af5 (patch) | |
tree | 118c1fb2db985e771f329a696586a4604efe24fc | |
parent | 9ddf1b105e1b63a77b851af5e541a9412b0e0928 (diff) | |
download | Hyprland-361357095c26c70876e239a37458cb413e537af5.tar.gz Hyprland-361357095c26c70876e239a37458cb413e537af5.zip |
workspace: fix selectors with special:
fixes #5187
-rw-r--r-- | src/desktop/Workspace.cpp | 2 |
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 |