Merge pull request #2347 from MightyPlaza/typo

hyprland/workspaces fix typo
pull/2352/head
Alexis Rouillard 2023-07-28 09:58:09 +02:00 committed by GitHub
commit 629686f760
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ void Workspaces::onEvent(const std::string &ev) {
for (Json::Value workspace_json : workspaces_json) {
if (workspace_json["name"].asString() == payload &&
(all_outputs() || bar_.output->name == workspace_json["monitor"].asString()) &&
(show_special() || workspace_json["name"].asString().find("special:") != 0)) {
(show_special() || workspace_json["name"].asString().find("special") != 0)) {
workspaces_to_create_.push_back(workspace_json);
break;
}