uidriver/glfw: Bug fix: Do not iconify the fullscreen window automatically

Fixes #1405
This commit is contained in:
Hajime Hoshi 2020-10-27 03:12:12 +09:00
parent 2259378430
commit 61bf10e73e
2 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,7 @@ const (
)
const (
AutoIconify = Hint(0x00020006)
ClientAPI = Hint(0x00022001)
ContextVersionMajor = Hint(0x00022002)
ContextVersionMinor = Hint(0x00022003)

View File

@ -643,6 +643,7 @@ func (u *UserInterface) init() error {
} else {
glfw.WindowHint(glfw.ClientAPI, glfw.NoAPI)
}
glfw.WindowHint(glfw.AutoIconify, glfw.False)
decorated := glfw.False
if u.isInitWindowDecorated() {