Skip to content

Commit

Permalink
hard-core destruction
Browse files Browse the repository at this point in the history
  • Loading branch information
garbeam committed Sep 8, 2009
1 parent 82fd584 commit 769cc52
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions dwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 769cc52

Please sign in to comment.