[client] Fix Linux tray right-click opening the main window

On SNI hosts that report icon clicks via Activate (KDE Plasma, Waybar),
Wails fired the left-click handler on every dbusmenu 'opened' event, so
a right click opened the tray menu and immediately raised the main
window, which stole focus and closed the menu.

Point the wails/v3 replace at the netbirdio fork (v3.0.0-beta.3 plus
the fix): once the host has sent Activate/SecondaryActivate, a menu
open no longer fires the click handler, while AppIndicator-only hosts
that signal clicks solely via 'opened' keep the old behavior.
This commit is contained in:
Zoltan Papp
2026-08-03 19:14:00 +02:00
parent 7546e7751c
commit 2cd1f824a9
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -339,3 +339,5 @@ replace github.com/dexidp/dex => github.com/netbirdio/dex v0.244.1-0.20260716205
replace github.com/dexidp/dex/api/v2 => github.com/netbirdio/dex/api/v2 v2.0.0-20260512110716-8d70ad8647c1
replace github.com/mailru/easyjson => github.com/netbirdio/easyjson v0.9.0
replace github.com/wailsapp/wails/v3 => github.com/netbirdio/wails/v3 v3.0.0-beta.3.0.20260803171101-93fca4afca5c