aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dmenu.13
-rw-r--r--dmenu.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/dmenu.1 b/dmenu.1
index bbee17d..2897ab1 100644
--- a/dmenu.1
+++ b/dmenu.1
@@ -136,6 +136,9 @@ Delete line right
136C\-m 136C\-m
137Return 137Return
138.TP 138.TP
139C\-M
140Shift-Return
141.TP
139C\-n 142C\-n
140Down 143Down
141.TP 144.TP
diff --git a/dmenu.c b/dmenu.c
index b56f3a8..94c70de 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -256,9 +256,9 @@ keypress(XKeyEvent *ev) {
256 case XK_h: ksym = XK_BackSpace; break; 256 case XK_h: ksym = XK_BackSpace; break;
257 case XK_i: ksym = XK_Tab; break; 257 case XK_i: ksym = XK_Tab; break;
258 case XK_j: /* fallthrough */ 258 case XK_j: /* fallthrough */
259 case XK_J: ksym = XK_Return; break; 259 case XK_J: /* fallthrough */
260 case XK_m: /* fallthrough */ 260 case XK_m: /* fallthrough */
261 case XK_M: ksym = XK_Return; break; 261 case XK_M: ksym = XK_Return; ev->state &= ~ControlMask; break;
262 case XK_n: ksym = XK_Down; break; 262 case XK_n: ksym = XK_Down; break;
263 case XK_p: ksym = XK_Up; break; 263 case XK_p: ksym = XK_Up; break;
264 264