--- dmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmenu.c b/dmenu.c index 89fd130..ef844b1 100644 --- a/dmenu.c +++ b/dmenu.c _AT_@ -247,7 +247,7 @@ keypress(XKeyEvent *ev) { len = XmbLookupString(xic, ev, buf, sizeof buf, &ksym, &status); if(status == XBufferOverflow) return; - if(ev->state & ControlMask) + if(ev->state & ControlMask && ksym != XK_Return && ksym != XK_KP_Enter) switch(ksym) { case XK_a: ksym = XK_Home; break; case XK_b: ksym = XK_Left; break; -- 1.7.10.4 --tThc/1wpZn/ma/RB--Received on Mon Sep 17 2001 - 00:00:00 CEST
This archive was generated by hypermail 2.3.0 : Sun Apr 12 2015 - 21:00:15 CEST