aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-11-07 23:57:14 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-11-07 23:57:14 +0100
commitf269f53e9b694b4efee8217b4f24194a4efb580f (patch)
tree75a8232d2e27f8a6c30749138f29ee433551a035
parentAdded support for ^j and ^k (diff)
downloaddmenu-f269f53e9b694b4efee8217b4f24194a4efb580f.tar.gz
dmenu-f269f53e9b694b4efee8217b4f24194a4efb580f.tar.bz2
dmenu-f269f53e9b694b4efee8217b4f24194a4efb580f.tar.xz
dmenu-f269f53e9b694b4efee8217b4f24194a4efb580f.tar.zst
dmenu-f269f53e9b694b4efee8217b4f24194a4efb580f.zip
Cleanup
-rw-r--r--dmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dmenu.c b/dmenu.c
index ae7c292..13b4397 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -507,8 +507,8 @@ 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_Down; break; /* fallthrough */
- case XK_k: ksym = XK_Up; break; /* fallthrough */
+ case XK_j: ksym = XK_Down; break;
+ case XK_k: ksym = XK_Up; break;
case XK_J: /* fallthrough */
case XK_m: /* fallthrough */
case XK_M: ksym = XK_Return; ev->state &= ~ControlMask; break;