--- 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))