thard-core destruction - dwm - [fork] customized build of dwm, the dynamic window manager
 (HTM) git clone git://src.adamsgaard.dk/dwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 01056b66369f650d02145f27d1399141f93015df
 (DIR) parent eb260b1a414fb82fc01d3638e3e77495297c45d5
 (HTM) Author: Anselm R Garbe <garbeam@gmail.com>
       Date:   Tue,  8 Sep 2009 13:30:18 +0100
       
       hard-core destruction
       Diffstat:
         M dwm.c                               |      10 ++++++++--
       
       1 file changed, 8 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/dwm.c b/dwm.c
       t@@ -1039,9 +1039,15 @@ killclient(const Arg *arg) {
                        ev.xclient.data.l[1] = CurrentTime;
                        XSendEvent(dpy, selmon->sel->win, False, NoEventMask, &ev);
                }
       -        else
       +        else {
       +                XGrabServer(dpy);
       +                XSetErrorHandler(xerrordummy);
       +                XSetCloseDownMode(dpy, DestroyAll);
                        XKillClient(dpy, selmon->sel->win);
       -        XSync(dpy, False);
       +                XSync(dpy, False);
       +                XSetErrorHandler(xerror);
       +                XUngrabServer(dpy);
       +        }
        }
        
        void