JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
applied anudots [un]ban repair patch
[dwm.git] / client.c
index 3be154b..06bc9d8 100644 (file)
--- a/client.c
+++ b/client.c
@@ -1,9 +1,4 @@
-/* © 2006-2007 Anselm R. Garbe <garbeam at gmail dot com>
- * © 2006-2007 Sander van Dijk <a dot h dot vandijk at gmail dot com>
- * © 2006-2007 Jukka Salmi <jukka at salmi dot ch>
- * © 2007 Premysl Hruby <dfenze at gmail dot com>
- * © 2007 Szabolcs Nagy <nszabolcs at gmail dot com>
- * See LICENSE file for license details. */
+/* See LICENSE file for copyright and license details. */
 #include "dwm.h"
 #include <stdlib.h>
 #include <string.h>
@@ -221,8 +216,7 @@ manage(Window w, XWindowAttributes *wa) {
                c->isfloating = (rettrans == Success) || c->isfixed;
        attach(c);
        attachstack(c);
-       c->isbanned = True;
-       XMoveWindow(dpy, w, c->x + 2 * sw, c->y);
+       ban(c);
        XMapWindow(dpy, w);
        setclientstate(c, NormalState);
        focus(c);