From 21025650d4d91bd0e1848bf1a78208301180e604 Mon Sep 17 00:00:00 2001 From: pin Date: Fri, 5 Mar 2010 10:50:41 +0000 Subject: [PATCH] =?utf8?q?m=C3=A9nage.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.cri.ensmp.fr/svn/minwii/trunk@68 fe552daf-6dbe-4428-90eb-1537e0879342 --- src/app/minwii.py | 2 +- src/app/widgets/cursors.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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)) -- 2.20.1