From 2b31952731bc1c15d9a9521579b7609d50a65f01 Mon Sep 17 00:00:00 2001 From: Connor Lane Smith Date: Mon, 14 Nov 2011 20:02:16 +0100 Subject: fix C-n / C-p directions (thanks bastien) --- dmenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dmenu.c b/dmenu.c index f71b056..d0e27da 100644 --- a/dmenu.c +++ b/dmenu.c @@ -258,8 +258,8 @@ keypress(XKeyEvent *ev) { case XK_i: ksym = XK_Tab; break; case XK_j: ksym = XK_Return; break; case XK_m: ksym = XK_Return; break; - case XK_n: ksym = XK_Up; break; - case XK_p: ksym = XK_Down; break; + case XK_n: ksym = XK_Down; break; + case XK_p: ksym = XK_Up; break; case XK_k: /* delete right */ text[cursor] = '\0'; -- cgit v1.2.3-13-gbd6f