pinosaur
/
dmenu.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5014538
)
listen for C-S-[jm]
author
Connor Lane Smith
<cls@lubutu.com>
Fri, 10 Feb 2012 00:37:42 +0000
(
00:37
+0000)
committer
Connor Lane Smith
<cls@lubutu.com>
Fri, 10 Feb 2012 00:37:42 +0000
(
00:37
+0000)
dmenu.c
patch
|
blob
|
history
diff --git
a/dmenu.c
b/dmenu.c
index
fad4443
..
f7eba87
100644
(file)
--- a/
dmenu.c
+++ b/
dmenu.c
@@
-254,8
+254,10
@@
keypress(XKeyEvent *ev) {
case XK_g: ksym = XK_Escape; break;
case XK_h: ksym = XK_BackSpace; break;
case XK_i: ksym = XK_Tab; break;
- case XK_j: ksym = XK_Return; break;
- case XK_m: ksym = XK_Return; break;
+ case XK_j: /* fallthrough */
+ case XK_J: ksym = XK_Return; break;
+ case XK_m: /* fallthrough */
+ case XK_M: ksym = XK_Return; break;
case XK_n: ksym = XK_Down; break;
case XK_p: ksym = XK_Up; break;