From: pin Date: Fri, 5 Mar 2010 10:50:41 +0000 (+0000) Subject: ménage. X-Git-Url: https://scm.cri.ensmp.fr/git/minwii.git/commitdiff_plain/21025650d4d91bd0e1848bf1a78208301180e604 ménage. git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@68 fe552daf-6dbe-4428-90eb-1537e0879342 --- diff --git a/src/app/minwii.py b/src/app/minwii.py index a92590e..26e2a5e 100755 --- a/src/app/minwii.py +++ b/src/app/minwii.py @@ -16,7 +16,7 @@ class MinWii(object): def __init__(self) : app = Desktop() - if True : + while True : home = Home() home.connect(QUIT, app.quit) app.run(home) diff --git a/src/app/widgets/cursors.py b/src/app/widgets/cursors.py index 2c22b5d..db1ac56 100755 --- a/src/app/widgets/cursors.py +++ b/src/app/widgets/cursors.py @@ -53,7 +53,6 @@ class WarpingCursor(pygame.sprite.DirtySprite, EventHandlerMixin): pygame.event.set_allowed(pygame.MOUSEMOTION) # --- x, y = pygame.mouse.get_pos() - print 'mouse pos :', x, y left = x - self.width / 2 top = y - self.height / 2 self.rect = pygame.Rect((left, top), (self.width, self.height))