mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 04:01:56 -07:00
workspace: fix special unnamed workspace rules (#5390)
modified: src/desktop/Workspace.cpp
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user