diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-10 14:00:33 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-10 14:00:33 +0200 |
commit | 7220d62e96d214c790175aee5bce3ab935e43e82 (patch) | |
tree | 97e52ee6407c8f1c665dc6392a0800308f7a16d4 /ui/tray.go | |
parent | service: clean up addresses from stale interfaces (diff) | |
download | wireguard-windows-7220d62e96d214c790175aee5bce3ab935e43e82.tar.xz wireguard-windows-7220d62e96d214c790175aee5bce3ab935e43e82.zip |
ui: dont use main window and run our own message loop
This allows us to do custom things like send raise click messages.
Diffstat (limited to '')
-rw-r--r-- | ui/tray.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |