internal/uidriver/glfw: Use GLFW's fullscreen when the window is transparent on macOS

Closes #1822
This commit is contained in:
Hajime Hoshi 2021-09-24 03:22:05 +09:00
parent 159bc8dda1
commit a7b5db6f65

View File

@ -178,7 +178,7 @@ func (u *UserInterface) setNativeCursor(shape driver.CursorShape) {
}
func (u *UserInterface) isNativeFullscreenAvailable() bool {
return true
return u.window.GetAttrib(glfw.TransparentFramebuffer) != glfw.True
}
func (u *UserInterface) setNativeFullscreen(fullscreen bool) {