aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-05-27 16:56:34 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-05-27 16:57:05 +0200
commit33b2ddc538637a65cfa16bd58030f733096071de (patch)
treeb976829b93a7ba0c690b43a54f9b27c37d82bbe9 /ui
parentwinipcfg: make LUID.DeleteIPAddress accept IPNet (diff)
downloadwireguard-windows-33b2ddc538637a65cfa16bd58030f733096071de.tar.xz
wireguard-windows-33b2ddc538637a65cfa16bd58030f733096071de.zip
ui: add WM_SIZING hack back to confview
Helps selection of initial item. I'm not happy about this.
Diffstat (limited to 'ui')
-rw-r--r--ui/confview.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/confview.go b/ui/confview.go
index 9c3315bb..b8381fa1 100644
--- a/ui/confview.go
+++ b/ui/confview.go
@@ -581,4 +581,5 @@ func (cv *ConfView) setTunnel(tunnel *manager.Tunnel, config *conf.Config, state
groupBox.Parent().Children().Remove(groupBox)
groupBox.Dispose()
}
+ cv.SendMessage(win.WM_SIZING, 0, 0) //TODO: This here is a filthy hack that shouldn't be required!
}