internal/uidriver/glfw: refactoring: SetTitle after restoring from fullscreen is no longer needed

This commit is contained in:
Hajime Hoshi 2022-01-26 04:15:09 +09:00
parent d0a6ce6567
commit da1d6ddf17

View File

@ -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