From 1587e845fc046bb63c81a0babc155186bcaf2fe7 Mon Sep 17 00:00:00 2001 From: Daniel Francis Date: Fri, 21 Dec 2012 02:58:55 +0000 Subject: Bug fixes Signed-off-by: Daniel Francis --- (limited to 'physics.py') 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) -- cgit v0.9.1