X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=main.c;h=bd19e49bd8f2eb4e7ad0f12857a74ae31f580efe;hb=5cc27f1b3c61df4f048cdac9e0feb31a2dd80c63;hp=94041c06ceba86338e742ac0c5db2f24fe67404f;hpb=e256afe31ef6a70eceb632ddfe717bfe6d8d9169;p=dwm.git diff --git a/main.c b/main.c index 94041c0..bd19e49 100644 --- 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;