diff --git a/internal/driver/glfw/window.go b/internal/driver/glfw/window.go index 6639d79ba7..d0e121168a 100644 --- a/internal/driver/glfw/window.go +++ b/internal/driver/glfw/window.go @@ -1023,6 +1023,13 @@ func (w *window) doShowAgain() { w.viewLock.Lock() w.visible = true w.viewLock.Unlock() + + if w.fullScreen { // this does not work if called before viewport.Show() + go func() { + time.Sleep(time.Millisecond * 100) + w.SetFullScreen(true) + }() + } }) }