uidriver/glfw: Bug fix: isInitWindowMaximized didn't unlock the mutex

This commit is contained in:
Hajime Hoshi 2020-08-24 02:55:31 +09:00
parent b1bc06935a
commit af6961fc17

View File

@ -376,6 +376,7 @@ func (u *UserInterface) isInitWindowMaximized() bool {
func (u *UserInterface) setInitWindowMaximized(floating bool) { func (u *UserInterface) setInitWindowMaximized(floating bool) {
u.m.Lock() u.m.Lock()
u.initWindowMaximized = floating u.initWindowMaximized = floating
u.m.Unlock()
} }
func (u *UserInterface) isInitFocused() bool { func (u *UserInterface) isInitFocused() bool {