From 7220d62e96d214c790175aee5bce3ab935e43e82 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Fri, 10 May 2019 14:00:33 +0200 Subject: ui: dont use main window and run our own message loop This allows us to do custom things like send raise click messages. --- ui/tray.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/tray.go') diff --git a/ui/tray.go b/ui/tray.go index 668163da..f2c387e4 100644 --- a/ui/tray.go +++ b/ui/tray.go @@ -41,7 +41,7 @@ func NewTray(mtw *ManageTunnelsWindow) (*Tray, error) { tunnels: make(map[string]*walk.Action), } - tray.NotifyIcon, err = walk.NewNotifyIcon(mtw.MainWindow) + tray.NotifyIcon, err = walk.NewNotifyIcon(mtw) if err != nil { return nil, err } -- cgit v1.2.3-59-g8ed1b