From: Connor Lane Smith Date: Fri, 6 Aug 2010 13:16:08 +0000 (+0100) Subject: added ^D, removed ^M X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=0b8072a5a93cfa6869983748932f9e5679fbfe2d;p=dmenu.git added ^D, removed ^M --- diff --git a/dmenu.c b/dmenu.c index f5d2bd1..a1d0ed2 100644 --- a/dmenu.c +++ b/dmenu.c @@ -194,6 +194,9 @@ keypress(XKeyEvent *e) { case XK_c: ksym = XK_Escape; break; + case XK_d: + ksym = XK_Delete; + break; case XK_e: ksym = XK_End; break; @@ -207,7 +210,6 @@ keypress(XKeyEvent *e) { ksym = XK_Tab; break; case XK_j: - case XK_m: ksym = XK_Return; break; case XK_k: /* delete right */