On Fri, Jun 05, 2009 at 06:33:13PM +0200, Jan Hülsbergen wrote:
since I'm a heavy Emacs user, I missed being able to abort/exit dmenu
with C-g in addition to ESC and I wrote a little patch to do just
that. So if anyone else is interested, here it is.

Not that difficult:

--- dmenu.c.orig        2009-04-18 13:50:04.000000000 +0200
+++ dmenu.c     2009-06-05 03:23:29.000000000 +0200
@@ -333,6 +333,7 @@
                switch (ksym) {
                default:        /* ignore other control sequences */
                        return;
+               case XK_g:
                case XK_bracketleft:
                        ksym = XK_Escape;
                        break;


--
Kris Maglione

There are two ways to write error-free programs; only the third works.
        --Alan J. Perlis


Reply via email to