Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/physics.py
diff options
context:
space:
mode:
authorDaniel Francis <francis@sugarlabs.org>2012-12-21 02:58:55 (GMT)
committer Daniel Francis <francis@sugarlabs.org>2012-12-21 02:58:55 (GMT)
commit1587e845fc046bb63c81a0babc155186bcaf2fe7 (patch)
treea1a20e4ea729db602a7001c44ccaf1dadc4486c3 /physics.py
parent4c7ec286ff2acbb80a479d9aea02868ed3a917da (diff)
Bug fixes
Signed-off-by: Daniel Francis <francis@sugarlabs.org>
Diffstat (limited to 'physics.py')
-rw-r--r--physics.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/physics.py b/physics.py
index 9298e11..dec7eef 100644
--- a/physics.py
+++ b/physics.py
@@ -85,6 +85,9 @@ class PhysicsGame:
| gtk.gdk.LEAVE_NOTIFY_MASK)
while True:
+ while gtk.events_pending():
+ gtk.main_iteration()
+
for event in pygame.event.get():
self.currentTool.handleEvents(event)