aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2012-02-10 00:37:42 +0000
committerConnor Lane Smith <cls@lubutu.com>2012-02-10 00:37:42 +0000
commit1f11faf7b505ac94bee1242e90dbd3ae37a086b4 (patch)
treef447db7acfd6d57a38a8e615f62682231c5c3fab
parent50145384c821bb05f5497e80a006fee2db9f145b (diff)
listen for C-S-[jm]
-rw-r--r--dmenu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/dmenu.c b/dmenu.c
index fad4443..f7eba87 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -254,8 +254,10 @@ keypress(XKeyEvent *ev) {
254 case XK_g: ksym = XK_Escape; break; 254 case XK_g: ksym = XK_Escape; break;
255 case XK_h: ksym = XK_BackSpace; break; 255 case XK_h: ksym = XK_BackSpace; break;
256 case XK_i: ksym = XK_Tab; break; 256 case XK_i: ksym = XK_Tab; break;
257 case XK_j: ksym = XK_Return; break; 257 case XK_j: /* fallthrough */
258 case XK_m: ksym = XK_Return; break; 258 case XK_J: ksym = XK_Return; break;
259 case XK_m: /* fallthrough */
260 case XK_M: ksym = XK_Return; break;
259 case XK_n: ksym = XK_Down; break; 261 case XK_n: ksym = XK_Down; break;
260 case XK_p: ksym = XK_Up; break; 262 case XK_p: ksym = XK_Up; break;
261 263