From da1d6ddf1729b8887746bd616af0372d8b068dac Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 26 Jan 2022 04:15:09 +0900 Subject: [PATCH] internal/uidriver/glfw: refactoring: SetTitle after restoring from fullscreen is no longer needed --- internal/uidriver/glfw/ui.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/uidriver/glfw/ui.go b/internal/uidriver/glfw/ui.go index 9601930cc..42493e705 100644 --- a/internal/uidriver/glfw/ui.go +++ b/internal/uidriver/glfw/ui.go @@ -1302,9 +1302,6 @@ func (u *UserInterface) setWindowSizeInDIPImpl(width, height int, fullscreen boo u.window.SetSize(newW, newH) }) } - - // Window title might be lost on macOS after coming back from fullscreen. - u.window.SetTitle(u.title) } return windowRecreated