This adds C-d (delete next char) and C-g (abort) to dmenu. These keys are also used in programs like bash or Emacs. I think this completes the C-something keyboard shortcuts set.
-- Daniel diff -r 8e019362118b dmenu.c --- a/dmenu.c Thu Aug 05 15:41:56 2010 +0100 +++ b/dmenu.c Fri Aug 06 11:47:43 2010 +0200 @@ -194,12 +194,18 @@ case XK_c: ksym = XK_Escape; break; + case XK_d: + ksym = XK_Delete; + break; case XK_e: ksym = XK_End; break; case XK_f: ksym = XK_Right; break; + case XK_g: + ksym = XK_Escape; + break; case XK_h: ksym = XK_BackSpace; break;