From 24d56023fd969741bf4448b87fc596555a6463af Mon Sep 17 00:00:00 2001 From: MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> Date: Mon, 17 Jul 2023 22:38:58 +0000 Subject: [PATCH] last fixes --- src/modules/hyprland/workspaces.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/hyprland/workspaces.cpp b/src/modules/hyprland/workspaces.cpp index b33c3472..f7b87bfa 100644 --- a/src/modules/hyprland/workspaces.cpp +++ b/src/modules/hyprland/workspaces.cpp @@ -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; });