diff --git a/internal/uidriver/glfw/ui.go b/internal/uidriver/glfw/ui.go index 0b4d11ee4..27db18ee4 100644 --- a/internal/uidriver/glfw/ui.go +++ b/internal/uidriver/glfw/ui.go @@ -1062,6 +1062,7 @@ func (u *UserInterface) setWindowSize(width, height int, fullscreen bool) { case <-t.C: break event default: + time.Sleep(time.Millisecond) } } u.window.SetFramebufferSizeCallback(nil)