separated layout-specific stuff into separate .h and .c files which are included in config.h resp. config.mk - this allows writing layouts for dwm without any need to patch existing code

This commit is contained in:
Anselm R. Garbe 2007-08-11 12:11:50 +02:00
parent b5eea45a31
commit 2d81b78b85
13 changed files with 164 additions and 134 deletions

View file

@ -230,7 +230,7 @@ manage(Window w, XWindowAttributes *wa) {
setclientstate(c, IconicState);
c->isbanned = True;
focus(c);
lt->arrange(NULL);
lt->arrange();
}
void
@ -305,7 +305,7 @@ togglefloating(const char *arg) {
sel->isfloating = !sel->isfloating;
if(sel->isfloating)
resize(sel, sel->x, sel->y, sel->w, sel->h, True);
lt->arrange(NULL);
lt->arrange();
}
void
@ -337,7 +337,7 @@ unmanage(Client *c) {
XSync(dpy, False);
XSetErrorHandler(xerror);
XUngrabServer(dpy);
lt->arrange(NULL);
lt->arrange();
}
void