dmenu

my fork of dmenu
Index Commits Files Refs README LICENSE
commit a45d6983ab401fa9765c33de0c24394ae698cce0
parent 08420a935b96bf1bd8531c3a9cda66ee87e31855
Author: Anselm R. Garbe <arg@suckless.org>
Date:   Wed, 10 Jan 2007 18:06:16 +0100

applied Alexis Hildebrandts patches
Diffstat:
Mmain.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/main.c b/main.c
@@ -164,6 +164,8 @@ kpress(XKeyEvent * e) {
         switch (ksym) {
         default:    /* ignore other control sequences */
             return;
+        case XK_bracketleft:
+            ksym = XK_Escape;
             break;
         case XK_h:
         case XK_H:
@@ -175,7 +177,6 @@ kpress(XKeyEvent * e) {
             match(text);
             drawmenu();
             return;
-            break;
         }
     }
     if(e->state & Mod1Mask) {