From 8cdbe7e083325f41ffa565eaeb63d0841345c8a1 Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Fri, 18 Oct 2024 23:58:04 +0100 Subject: [PATCH] refactor(hyprland): improve logging --- src/clients/compositor/hyprland.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/clients/compositor/hyprland.rs b/src/clients/compositor/hyprland.rs index f7bb09f..063e7b7 100644 --- a/src/clients/compositor/hyprland.rs +++ b/src/clients/compositor/hyprland.rs @@ -119,7 +119,7 @@ impl Client { { Self::send_focus_change(&mut prev_workspace, workspace, &tx); } else { - error!("Unable to locate workspace"); + error!("unable to locate workspace: {workspace_name}"); } }); } @@ -154,6 +154,7 @@ impl Client { event_listener.add_workspace_rename_handler(move |data| { let _lock = lock!(lock); + debug!("Received workspace rename: {data:?}"); send!( tx,