diff options
author | Connor Lane Smith <cls@lubutu.com> | 2011-11-14 20:02:16 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2011-11-14 20:02:16 +0100 |
commit | 2b31952731bc1c15d9a9521579b7609d50a65f01 (patch) | |
tree | 1d6311f90dfc14d1e8a7b1c101de8587135056af | |
parent | c01f36a1f30c9a8846b75269522219b8f5ff6821 (diff) | |
download | dmenu-2b31952731bc1c15d9a9521579b7609d50a65f01.tar.gz dmenu-2b31952731bc1c15d9a9521579b7609d50a65f01.tar.bz2 dmenu-2b31952731bc1c15d9a9521579b7609d50a65f01.zip |
fix C-n / C-p directions (thanks bastien)
-rw-r--r-- | dmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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'; |