diff --git a/kivy/core/window/window_pygame.py b/kivy/core/window/window_pygame.py index 9a66f2c52..bf4256e69 100644 --- a/kivy/core/window/window_pygame.py +++ b/kivy/core/window/window_pygame.py @@ -16,7 +16,6 @@ from kivy import kivy_home_dir from kivy.base import ExceptionManager from kivy.logger import Logger from kivy.base import stopTouchApp, EventLoop -from kivy.clock import Clock from kivy.utils import platform try: @@ -85,7 +84,7 @@ class WindowPygame(WindowBase): self._pos = (0, 0) 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') self.flags |= pygame.FULLSCREEN