[hackers] [dmenu] listen for C-S-[jm] || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Fri, 10 Feb 2012 01:37:52 +0100 (CET)

changeset: 486:178b077493cf
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Fri Feb 10 00:37:42 2012 +0000
files: dmenu.c
description:
listen for C-S-[jm]


diff -r 1659395e4de0 -r 178b077493cf dmenu.c
--- a/dmenu.c Thu Jan 19 22:52:17 2012 +0000
+++ b/dmenu.c Fri Feb 10 00:37:42 2012 +0000
_AT_@ -254,8 +254,10 @@
                 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_Return; break;
- case XK_m: ksym = XK_Return; break;
+ case XK_j: /* fallthrough */
+ case XK_J: ksym = XK_Return; break;
+ case XK_m: /* fallthrough */
+ case XK_M: ksym = XK_Return; break;
                 case XK_n: ksym = XK_Down; break;
                 case XK_p: ksym = XK_Up; break;
 
Received on Fri Feb 10 2012 - 01:37:52 CET

This archive was generated by hypermail 2.3.0 : Fri Feb 10 2012 - 01:48:07 CET