From e53a9067b03de002a07f85e5302e3774e53521f2 Mon Sep 17 00:00:00 2001 From: Jake Stanger Date: Tue, 5 Nov 2024 13:20:34 +0000 Subject: [PATCH] fix(tray): cannot activate with mixed left/right click Fixes #513 --- src/modules/tray/interface.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/tray/interface.rs b/src/modules/tray/interface.rs index 0e44449c..7baefbfa 100644 --- a/src/modules/tray/interface.rs +++ b/src/modules/tray/interface.rs @@ -276,8 +276,9 @@ impl TrayMenuItem { let tx = tx.clone(); let id = info.id; - widget.connect_activate(move |_item| { + widget.connect_button_press_event(move |_item, _event| { try_send!(tx, id); + Propagation::Proceed }); }