ALT-key processing disabled (temporarily)
authorClaus Gittinger <cg@exept.de>
Thu, 08 May 2008 11:18:43 +0200
changeset 2447 ecb0212e1c8d
parent 2446 c04a44b89cf2
child 2448 2a3eb2a3da9b
ALT-key processing disabled (temporarily)
KeyboardProcessor.st
--- a/KeyboardProcessor.st	Wed May 07 11:53:31 2008 +0200
+++ b/KeyboardProcessor.st	Thu May 08 11:18:43 2008 +0200
@@ -206,7 +206,10 @@
     "/ little state machine, to detect if the alt-key was pressed
     "/ without a concrete command key.
     "/ this will bring the focus to the menuPanel, if there is one.
-
+"/ cg: disabled for now;
+"/ leads to occasional leftover popupmenus floating around;
+"/ ca has to look for this first.
+false ifTrue:[
     key = #'Cmd' ifTrue:[
         event isKeyPressEvent ifTrue:[
             altFunctionWasExecuted := false.
@@ -222,6 +225,7 @@
     ] ifFalse:[
         altFunctionWasExecuted := true.
     ].
+].
 
     event isKeyPressEvent ifTrue:[
         "/ key startsWith:'Cmd'
@@ -365,5 +369,5 @@
 !KeyboardProcessor class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview2/KeyboardProcessor.st,v 1.44 2008-04-25 14:19:58 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview2/KeyboardProcessor.st,v 1.45 2008-05-08 09:18:43 cg Exp $'
 ! !