mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-17 12:12:10 -04:00
AppRunner calls web embedded windowProperties.setFullscreen(False) (fixes logout from fullscreen crash)
This commit is contained in:
parent
db637e7f83
commit
045459f848
@ -746,6 +746,7 @@ class AppRunner(DirectObject):
|
||||
wp.setSize(width, height)
|
||||
if windowType == 'embedded':
|
||||
wp.setParentWindow(parent)
|
||||
wp.setFullscreen(False)
|
||||
base.win.requestProperties(wp)
|
||||
self.windowProperties = wp
|
||||
return
|
||||
@ -763,11 +764,11 @@ class AppRunner(DirectObject):
|
||||
|
||||
wp = WindowProperties.getDefault()
|
||||
|
||||
wp.clearFullscreen()
|
||||
wp.clearParentWindow()
|
||||
wp.clearOrigin()
|
||||
wp.clearSize()
|
||||
|
||||
wp.setFullscreen(False)
|
||||
if windowType == 'fullscreen':
|
||||
wp.setFullscreen(True)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user