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

This reverts commit 61bf10e73e.

Reason: This prevents the app from iconifying when toggling apps.

Updates #1405
Closes #1504
This commit is contained in:
Hajime Hoshi 2021-02-23 20:13:21 +09:00
parent 18d526c2d3
commit d913e66cd9
2 changed files with 0 additions and 2 deletions

View File

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

View File

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