diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index 570b94530..19eb3865a 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -357,7 +357,7 @@ func (u *userInterfaceImpl) setWindowMonitor(monitor int) { m := monitors[monitor].m // Ignore if it is the same monitor. - if m == u.window.GetMonitor() { + if m == u.currentMonitor() { return }