c = emallocz(sizeof(Client));
c->tags = emallocz(ntags * sizeof(Bool));
c->win = w;
- c->x = c->tx = wa->x;
- c->y = c->ty = wa->y;
+ c->x = c->tx = wa->x; c->x -= BORDERPX;
+ c->y = c->ty = wa->y; c->y -= BORDERPX;
c->w = c->tw = wa->width;
c->h = wa->height;
c->th = bh;
XMapWindow(dpy, c->twin);
if(isvisible(c))
focus(c);
- arrange(NULL);
+ arrange();
}
void
XSync(dpy, False);
XSetErrorHandler(xerror);
XUngrabServer(dpy);
- arrange(NULL);
+ arrange();
}