diff --git a/src/modules/hyprland/workspaces.cpp b/src/modules/hyprland/workspaces.cpp index f5cc8329..e169f916 100644 --- a/src/modules/hyprland/workspaces.cpp +++ b/src/modules/hyprland/workspaces.cpp @@ -104,7 +104,7 @@ void Workspaces::remove_workspace(int id) { [&](std::unique_ptr &x) { return x->id() == id; }); if (workspace == workspaces_.end()) { - spdlog::warn("Can't find workspace with id {}", workspace->get()->id()); + spdlog::warn("Can't find workspace with id {}", id); return; }