[pypy-commit] lang-smalltalk default: initializing the interrupt key

lwassermann noreply at buildbot.pypy.org
Wed Apr 24 15:50:30 CEST 2013


Author: Lars Wassermann <lars.wassermann at gmail.com>
Branch: 
Changeset: r333:4a27ad95adf4
Date: 2013-04-24 15:49 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/4a27ad95adf4/

Log:	initializing the interrupt key

diff --git a/spyvm/display.py b/spyvm/display.py
--- a/spyvm/display.py
+++ b/spyvm/display.py
@@ -24,6 +24,7 @@
         SDLCursor.has_display = True
         self.has_surface = False
         self.mouse_position = [0, 0]
+        self.interrupt_key = 15 << 8 # pushing all four meta keys, of which we support three...
         self.button = 0
         self.key = 0
 


More information about the pypy-commit mailing list