mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 23:51:55 -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:")) {
|
} else if (selector.starts_with("name:")) {
|
||||||
return m_szName == selector.substr(5);
|
return m_szName == selector.substr(5);
|
||||||
} else if (selector.starts_with("special:")) {
|
} else if (selector.starts_with("special")) {
|
||||||
return m_szName == selector;
|
return m_szName == selector;
|
||||||
} else {
|
} else {
|
||||||
// parse selector
|
// parse selector
|
||||||
|
Reference in New Issue
Block a user