a lightweight, interval-based utility to combat digital strain through "Ma" (intentional pauses) for the eyes and body.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: remove left-click tray handler

+2 -10
+2 -10
src/tray.rs
··· 91 91 cmd_tx: &tokio::sync::mpsc::UnboundedSender<TimerCommand>, 92 92 open_settings: &mut bool, 93 93 ) -> bool { 94 - // Drain tray icon clicks (left-click opens settings on some platforms). 95 - while let Ok(event) = TrayIconEvent::receiver().try_recv() { 96 - if let tray_icon::TrayIconEvent::Click { 97 - button: tray_icon::MouseButton::Left, 98 - .. 99 - } = event 100 - { 101 - *open_settings = true; 102 - } 103 - } 94 + // Drain tray icon events (no-op on Linux — AppIndicator left-click opens the menu). 95 + while TrayIconEvent::receiver().try_recv().is_ok() {} 104 96 105 97 // Drain menu events. 106 98 while let Ok(event) = MenuEvent::receiver().try_recv() {