From d913e66cd95aba24cf43c1ed7e62a67942e1a277 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Tue, 23 Feb 2021 20:13:21 +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 c0b69290c..1ae1820ea 100644 --- a/internal/uidriver/glfw/ui.go +++ b/internal/uidriver/glfw/ui.go @@ -673,7 +673,6 @@ func (u *UserInterface) init() error { } else { glfw.WindowHint(glfw.ClientAPI, glfw.NoAPI) } - glfw.WindowHint(glfw.AutoIconify, glfw.False) decorated := glfw.False if u.isInitWindowDecorated() {