JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
added an creatnotify event handler
[dwm.git] / main.c
diff --git a/main.c b/main.c
index 5551e6e..471cfc2 100644 (file)
--- a/main.c
+++ b/main.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 <errno.h>
 #include <locale.h>
@@ -43,8 +38,7 @@ static void
 cleanup(void) {
        close(STDIN_FILENO);
        while(stack) {
-               if(stack->isbanned)
-                       XMoveWindow(dpy, stack->win, stack->x, stack->y);
+               unban(stack);
                unmanage(stack);
        }
        if(dc.font.set)