diff options
author | Anselm R Garbe <garbeam@gmail.com> | 2014-09-17 13:40:11 +0200 |
---|---|---|
committer | Anselm R Garbe <garbeam@gmail.com> | 2014-09-17 13:40:11 +0200 |
commit | 13a529ce63364544bdc851dfd5d3aa2ef8740914 (patch) | |
tree | edd5ecbaca11e754b319fe861889efed2e0618a8 /dmenu.c | |
parent | aa69426670bf0ae480db127ff8d4fc62d6da2593 (diff) | |
download | dmenu-13a529ce63364544bdc851dfd5d3aa2ef8740914.tar.gz dmenu-13a529ce63364544bdc851dfd5d3aa2ef8740914.tar.bz2 dmenu-13a529ce63364544bdc851dfd5d3aa2ef8740914.zip |
applied Hiltjo's patch as suggested on the ml to fix ControlMask for C-j and C-m
Diffstat (limited to 'dmenu.c')
-rw-r--r-- | dmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -256,9 +256,9 @@ keypress(XKeyEvent *ev) { case XK_h: ksym = XK_BackSpace; break; case XK_i: ksym = XK_Tab; break; case XK_j: /* fallthrough */ - case XK_J: ksym = XK_Return; break; + case XK_J: /* fallthrough */ case XK_m: /* fallthrough */ - case XK_M: ksym = XK_Return; break; + case XK_M: ksym = XK_Return; ev->state &= ~ControlMask; break; case XK_n: ksym = XK_Down; break; case XK_p: ksym = XK_Up; break; |