Skip to content

Commit

Permalink
workspace: fix special unnamed workspace rules (hyprwm#5390)
Browse files Browse the repository at this point in the history
modified:   src/desktop/Workspace.cpp
  • Loading branch information
MightyPlaza authored and lisuke committed Apr 15, 2024
1 parent 6b7ab0a commit 8c20234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/desktop/Workspace.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c20234

Please sign in to comment.