added ^D, removed ^M
authorConnor Lane Smith <cls@lubutu.com>
Fri, 6 Aug 2010 13:16:08 +0000 (14:16 +0100)
committerConnor Lane Smith <cls@lubutu.com>
Fri, 6 Aug 2010 13:16:08 +0000 (14:16 +0100)
dmenu.c

diff --git a/dmenu.c b/dmenu.c
index f5d2bd1..a1d0ed2 100644 (file)
--- 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 */