mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 06:05:59 +01:00
workspace: fix special unnamed workspace rules (#5390)
modified: src/desktop/Workspace.cpp
This commit is contained in:
parent
ef23ef60c5
commit
153c8f35ce
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue