applied Alexis Hildebrandts patches
authorAnselm R. Garbe <arg@suckless.org>
Wed, 10 Jan 2007 17:06:16 +0000 (18:06 +0100)
committerAnselm R. Garbe <arg@suckless.org>
Wed, 10 Jan 2007 17:06:16 +0000 (18:06 +0100)
main.c

diff --git a/main.c b/main.c
index 573d7c3..115fbde 100644 (file)
--- 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) {