From ee124baf60a8fbbc7b102d319f6353cc7fce6df7 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 8 Apr 2022 14:57:48 +0900 Subject: [PATCH] internal/ui: bug fix: WindowSize returned a wrong value on fullscreen on macOS Closes #2062 --- internal/ui/ui_glfw.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/ui_glfw.go b/internal/ui/ui_glfw.go index ef9825330..64d21f450 100644 --- a/internal/ui/ui_glfw.go +++ b/internal/ui/ui_glfw.go @@ -701,7 +701,7 @@ func (u *userInterfaceImpl) registerWindowSetSizeCallback() { if u.window.GetAttrib(glfw.Resizable) == glfw.False { return } - if u.isFullscreen() && !u.isNativeFullscreen() { + if u.isFullscreen() { return }