From b09fe7157bd7ee445c2a1a58f76206bf63c0a1b0 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sun, 29 Mar 2020 01:33:23 +0900 Subject: [PATCH] uidriver/glfw: Update comments --- internal/uidriver/glfw/ui.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/uidriver/glfw/ui.go b/internal/uidriver/glfw/ui.go index a325d76b0..1291c2695 100644 --- a/internal/uidriver/glfw/ui.go +++ b/internal/uidriver/glfw/ui.go @@ -691,8 +691,9 @@ func (u *UserInterface) run(context driver.UIContext) error { u.setWindowSize(ww, wh, u.isFullscreen(), u.vsync) } - // Set the window size and the window position in this order on Linux (X) (#1118), - // but this is inverted on Windows. This is very tricky, but there is no obvious way to solve this. + // Set the window size and the window position in this order on Linux or other UNIX using X (#1118), + // but this should be inverted on Windows. This is very tricky, but there is no obvious way to solve this. + // This doesn't matter on macOS. if runtime.GOOS == "windows" { setPosition() setSize()