Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/physics.py
diff options
context:
space:
mode:
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)