Skip to content
Browse files

fixes for fullscreen (-a, -k)

  • Loading branch information...
1 parent 68f6d69 commit af06110181c44140531ff8bc4c88f58602a64c5e @tito tito committed Aug 17, 2012
Showing with 6 additions and 4 deletions.
  1. +6 −4 kivy/core/window/window_x11.pyx
View
10 kivy/core/window/window_x11.pyx
@@ -144,15 +144,16 @@ class WindowX11(WindowBase):
fullscreen = False
border = True
- size = self.system_size
+ size = list(self.system_size)
if self.fullscreen == 'fake':
+ fullscreen = True
Logger.debug('WinX11: Set window to fake fullscreen mode')
border = False
- if self._pos is None:
- pos = (0, 0)
+ pos = (0, 0)
elif self.fullscreen == 'auto':
- size = -1, -1
+ size = [-1, -1]
+ fullscreen = True
elif self.fullscreen is True:
Logger.debug('WinX11: Set window to fullscreen mode')
@@ -165,6 +166,7 @@ class WindowX11(WindowBase):
size[0] = x11_get_width()
size[1] = x11_get_height()
+ print size
self._pos = (0, 0)
self.system_size = size

0 comments on commit af06110

Please sign in to comment.
Something went wrong with that request. Please try again.