]> gitweb.factorcode.org Git - factor.git/commitdiff
suppress error when clicking the keyboard in key-caps
authorJoe Groff <arcata@gmail.com>
Tue, 9 Dec 2008 22:50:54 +0000 (14:50 -0800)
committerJoe Groff <arcata@gmail.com>
Tue, 9 Dec 2008 22:50:54 +0000 (14:50 -0800)
extra/key-caps/key-caps.factor

index 0865b0ada2feb696db288220b96a755a365a1e97..05edb205d2e04c495b2998e2a3a1863e5487abfd 100755 (executable)
@@ -139,7 +139,7 @@ TUPLE: key-caps-gadget < gadget keys alarm ;
 : make-key-gadget ( scancode dim array -- )
     [ 
         swap [ 
-            " " [ ] <bevel-button>
+            " " [ drop ] <bevel-button>
             swap [ first >>loc ] [ second >>dim ] bi
         ] [ execute ] bi*
     ] dip set-nth ;