aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-10 18:06:16 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-10 18:06:16 +0100
commita45d6983ab401fa9765c33de0c24394ae698cce0 (patch)
treead1640b0f218b2fd563e1e79c225dfd1875dcb24
parent08420a935b96bf1bd8531c3a9cda66ee87e31855 (diff)
downloaddmenu-a45d6983ab401fa9765c33de0c24394ae698cce0.tar.gz
dmenu-a45d6983ab401fa9765c33de0c24394ae698cce0.tar.bz2
dmenu-a45d6983ab401fa9765c33de0c24394ae698cce0.zip
applied Alexis Hildebrandts patches
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 573d7c3..115fbde 100644
--- 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) {