mirror of git://git.suckless.org/dmenu
applied Alexis Hildebrandts patches
This commit is contained in:
parent
08420a935b
commit
a45d6983ab
3
main.c
3
main.c
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue