mirror of
https://github.com/hyprwm/Hyprland
synced 2025-02-17 00:02:35 +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:")) {
|
} 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue