Skip to content

Commit

Permalink
window: fix fullscreen when auto is used. closes #831 #830.
Browse files Browse the repository at this point in the history
  • Loading branch information
tito committed Dec 6, 2012
1 parent e1954ee commit 4150fcf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kivy/core/window/window_pygame.py
Expand Up @@ -16,7 +16,6 @@
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:
Expand Down Expand Up @@ -85,7 +84,7 @@ def create_window(self, *largs):
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

Expand Down

0 comments on commit 4150fcf

Please sign in to comment.