diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-27 16:56:34 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-05-27 16:57:05 +0200 |
commit | f17f6548770ec629d357cccc9fc3496bd39f7603 (patch) | |
tree | b976829b93a7ba0c690b43a54f9b27c37d82bbe9 /ui/confview.go | |
parent | winipcfg: make LUID.DeleteIPAddress accept IPNet (diff) | |
download | wireguard-windows-f17f6548770ec629d357cccc9fc3496bd39f7603.tar.xz wireguard-windows-f17f6548770ec629d357cccc9fc3496bd39f7603.zip |
ui: add WM_SIZING hack back to confview
Helps selection of initial item. I'm not happy about this.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r-- | ui/confview.go | 1 |
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! } |