From f17f6548770ec629d357cccc9fc3496bd39f7603 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 27 May 2019 16:56:34 +0200 Subject: 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 --- ui/confview.go | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/confview.go') 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! } -- cgit v1.2.3-59-g8ed1b