git.lucas.co / cce-status-interface
status bar
git clone https://git.lucas.co/cce-status-interface.git

commit8da9df13a566488887db6b548d9d598bf34392eb
parent4d438eef97
authorLucas Galante <[email protected]>
date2026-06-24 15:55
Add debugging coordinate prints for system tray clicks

 src/main.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main.rs b/src/main.rs
index 9304f7b..5e9f7a6 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -995,6 +995,7 @@ impl cce_ui::engine::Application for StatusApp {
 
                                             let x_pos = screen_width - (bound_x + bound_w) as i32;
                                             let y_pos = bar_height;
+                                            eprintln!("[tray-click] Clicked tray item at bound_x={}, bound_w={}, screen_width={}, calculated x_pos={}, y_pos={}", bound_x, bound_w, screen_width, x_pos, y_pos);
 
                                             if should_show_menu {
                                                 if let Some(menu_p) = menu_path {