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 | 6181169a906c3c225ac2628c9328e34f44028413 (patch) | |
tree | 97e52ee6407c8f1c665dc6392a0800308f7a16d4 /ui/tray.go | |
parent | service: clean up addresses from stale interfaces (diff) | |
download | wireguard-windows-6181169a906c3c225ac2628c9328e34f44028413.tar.xz wireguard-windows-6181169a906c3c225ac2628c9328e34f44028413.zip |
ui: dont use main window and run our own message loop
This allows us to do custom things like send raise click messages.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
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 } |