added an creatnotify event handler

This commit is contained in:
Anselm R. Garbe
2007-06-04 11:50:48 +02:00
parent 5a1a2edf0e
commit 83aa110c6f
4 changed files with 56 additions and 40 deletions

View File

@ -11,22 +11,6 @@ static unsigned int nlayouts = 0;
static unsigned int masterw = MASTERWIDTH;
static unsigned int nmaster = NMASTER;
static void
ban(Client *c) {
if (c->isbanned)
return;
XMoveWindow(dpy, c->win, c->x + 2 * sw, c->y);
c->isbanned = True;
}
static void
unban(Client *c) {
if (!c->isbanned)
return;
XMoveWindow(dpy, c->win, c->x, c->y);
c->isbanned = False;
}
static void
tile(void) {
unsigned int i, n, nx, ny, nw, nh, mw, mh, tw, th;