diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index 1a21cdab5..a85038c99 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -639,7 +639,10 @@ func Run(width, height int, scale float64, title string, g GraphicsContext, main x := mx + (v.Width-w)/2 y := my + (v.Height-h)/3 - x, y = adjustWindowPosition(x, y) + // Adjusting the position is needed only when the monitor is primary. (#829) + if mx == 0 && my == 0 { + x, y = adjustWindowPosition(x, y) + } u.window.SetPos(x, y) u.window.SetSizeCallback(func(_ *glfw.Window, width, height int) {