From e72821cdd7c781bf85b3025c06795ab1978153d8 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 23 Feb 2021 20:20:10 +0900 Subject: [PATCH] Revert "uidriver/glfw: Bug fix: Do not iconify the fullscreen window automatically" This reverts commit 61bf10e73e6605d9500ee8ade092ca1af72bfb51. Reason: This prevents the app from iconifying when toggling apps. Updates #1405 Closes #1504 --- internal/glfw/const.go | 1 - internal/uidriver/glfw/ui.go | 1 - 2 files changed, 2 deletions(-) diff --git a/internal/glfw/const.go b/internal/glfw/const.go index b4034acc5..54099915d 100644 --- a/internal/glfw/const.go +++ b/internal/glfw/const.go @@ -75,7 +75,6 @@ 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 1fdba05dc..6a74f3681 100644 --- a/internal/uidriver/glfw/ui.go +++ b/internal/uidriver/glfw/ui.go @@ -672,7 +672,6 @@ func (u *UserInterface) run() error { } else { glfw.WindowHint(glfw.ClientAPI, glfw.NoAPI) } - glfw.WindowHint(glfw.AutoIconify, glfw.False) decorated := glfw.False if u.isInitWindowDecorated() {