mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
last fixes
This commit is contained in:
parent
d3e7a8c797
commit
24d56023fd
@ -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()) &&
|
||||
(workspace_json["name"].asString().find("special:") != 0 || show_special())) {
|
||||
(show_special() || workspace_json["name"].asString().find("special:") != 0)) {
|
||||
workspaces_to_create_.push_back(workspace_json);
|
||||
break;
|
||||
}
|
||||
@ -223,7 +223,6 @@ void Workspaces::sort_workspaces() {
|
||||
if ((a->id() > 0) ^ (b->id() > 0)) {
|
||||
return a->id() > b->id();
|
||||
}
|
||||
spdlog::error("huh!!?");
|
||||
return false;
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user