JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
introduced tile.c, some refactoring of functions
[dwm.git] / main.c
diff --git a/main.c b/main.c
index 94041c0..bd19e49 100644 (file)
--- a/main.c
+++ b/main.c
@@ -41,7 +41,8 @@ static void
 cleanup(void) {
        close(STDIN_FILENO);
        while(stack) {
-               resize(stack, True);
+               if(stack->isbanned)
+                       XMoveWindow(dpy, stack->win, stack->x, stack->y);
                unmanage(stack);
        }
        if(dc.font.set)
@@ -116,7 +117,7 @@ setup(void) {
        wa.cursor = cursor[CurNormal];
        XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa);
        grabkeys();
-       initrregs();
+       compileregexps();
        for(ntags = 0; tags[ntags]; ntags++);
        seltag = emallocz(sizeof(Bool) * ntags);
        seltag[0] = True;