diff -r 6365c9425b48 -r 8ed842c35e8d client.c --- a/client.c Wed Feb 14 09:35:48 2007 +0100 +++ b/client.c Wed Feb 14 14:01:12 2007 +0100 @@ -68,6 +68,14 @@ /* extern */ void +ban(Client *c) { + if(!c || c->isbanned) + return; + c->isbanned = True; + XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y); +} + +void configure(Client *c) { XConfigureEvent ce; @@ -190,7 +198,7 @@ c->next = clients; c->snext = stack; stack = clients = c; - XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y); + ban(c); XMapWindow(dpy, c->win); setclientstate(c, NormalState); if(isvisible(c))