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:20:10 +09:00
parent 0dd5cc3097
commit e72821cdd7
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

@ -672,7 +672,6 @@ func (u *UserInterface) run() 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() {