From: Anselm R. Garbe Date: Wed, 10 Jan 2007 17:06:16 +0000 (+0100) Subject: applied Alexis Hildebrandts patches X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=a45d6983ab401fa9765c33de0c24394ae698cce0;p=dmenu.git applied Alexis Hildebrandts patches --- 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) {