applied Alexis Hildebrandts patches

This commit is contained in:
Anselm R. Garbe 2007-01-10 18:06:16 +01:00
parent 08420a935b
commit a45d6983ab

3
main.c
View File

@ -164,6 +164,8 @@ kpress(XKeyEvent * e) {
switch (ksym) { switch (ksym) {
default: /* ignore other control sequences */ default: /* ignore other control sequences */
return; return;
case XK_bracketleft:
ksym = XK_Escape;
break; break;
case XK_h: case XK_h:
case XK_H: case XK_H:
@ -175,7 +177,6 @@ kpress(XKeyEvent * e) {
match(text); match(text);
drawmenu(); drawmenu();
return; return;
break;
} }
} }
if(e->state & Mod1Mask) { if(e->state & Mod1Mask) {