From 0a07d8531b4d566822c26af7b31dce96106e74a5 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 21 Feb 2016 23:11:39 +0900 Subject: [PATCH] ui: Bug fix: SetPos should be called after Show at least on Linux --- internal/ui/ui_glfw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index 32a226dad..333f5de60 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -114,8 +114,8 @@ func (u *userInterface) start(width, height, scale int, title string) (actualSca u.setScreenSize(width, height, scale) u.window.SetTitle(title) - u.window.SetPos(x, y) u.window.Show() + u.window.SetPos(x, y) return u.actualScale, nil }