This commit is contained in:
MightyPlaza 2023-07-25 14:48:20 +00:00 committed by GitHub
parent 9207fff627
commit c71c0fca6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}