JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
implemented fallback for too many clients in stacked mode
[dwm.git] / main.c
diff --git a/main.c b/main.c
index 6035fb6..de59244 100644 (file)
--- a/main.c
+++ b/main.c
@@ -24,7 +24,7 @@ static void
 cleanup()
 {
        while(sel) {
-               resize(sel, True);
+               resize(sel, True, TopLeft);
                unmanage(sel);
        }
        XSetInputFocus(dpy, PointerRoot, RevertToPointerRoot, CurrentTime);
@@ -261,6 +261,7 @@ main(int argc, char *argv[])
        XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa);
 
        strcpy(stext, "dwm-"VERSION);
+
        scan();
 
        /* main event loop, reads status text from stdin as well */