diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index 97e7445fb..a4bafa2af 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -773,7 +773,7 @@ func (u *userInterface) currentMonitor() *glfw.Monitor { ww, wh := w.GetSize() wr := image.Rect(wx, wy, wx+ww, wy+wh) - best := 0 + best := -1 var current *glfw.Monitor for _, m := range glfw.GetMonitors() { mx, my := m.GetPos()