mirror of https://github.com/kivy/kivy.git
parent
e1954eebe8
commit
4150fcf8ef
|
@ -16,7 +16,6 @@ from kivy import kivy_home_dir
|
||||||
from kivy.base import ExceptionManager
|
from kivy.base import ExceptionManager
|
||||||
from kivy.logger import Logger
|
from kivy.logger import Logger
|
||||||
from kivy.base import stopTouchApp, EventLoop
|
from kivy.base import stopTouchApp, EventLoop
|
||||||
from kivy.clock import Clock
|
|
||||||
from kivy.utils import platform
|
from kivy.utils import platform
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
@ -85,7 +84,7 @@ class WindowPygame(WindowBase):
|
||||||
self._pos = (0, 0)
|
self._pos = (0, 0)
|
||||||
environ['SDL_VIDEO_WINDOW_POS'] = '%d,%d' % self._pos
|
environ['SDL_VIDEO_WINDOW_POS'] = '%d,%d' % self._pos
|
||||||
|
|
||||||
elif self.fullscreen is True:
|
elif self.fullscreen in ('auto', True):
|
||||||
Logger.debug('WinPygame: Set window to fullscreen mode')
|
Logger.debug('WinPygame: Set window to fullscreen mode')
|
||||||
self.flags |= pygame.FULLSCREEN
|
self.flags |= pygame.FULLSCREEN
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue