diff --git a/internal/glfw/const.go b/internal/glfw/const.go index 54099915d..b4034acc5 100644 --- a/internal/glfw/const.go +++ b/internal/glfw/const.go @@ -75,6 +75,7 @@ const ( ) const ( + AutoIconify = Hint(0x00020006) ClientAPI = Hint(0x00022001) ContextVersionMajor = Hint(0x00022002) ContextVersionMinor = Hint(0x00022003) diff --git a/internal/uidriver/glfw/ui.go b/internal/uidriver/glfw/ui.go index 6a74f3681..1fdba05dc 100644 --- a/internal/uidriver/glfw/ui.go +++ b/internal/uidriver/glfw/ui.go @@ -672,6 +672,7 @@ func (u *UserInterface) run() error { } else { glfw.WindowHint(glfw.ClientAPI, glfw.NoAPI) } + glfw.WindowHint(glfw.AutoIconify, glfw.False) decorated := glfw.False if u.isInitWindowDecorated() {