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

@ -216,7 +216,7 @@ configurenotify(XEvent *e) {
dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen));
XResizeWindow(dpy, barwin, sw, bh);
updatebarpos();
lt->arrange(NULL);
lt->arrange();
}
}
@ -317,7 +317,7 @@ propertynotify(XEvent *e) {
case XA_WM_TRANSIENT_FOR:
XGetTransientForHint(dpy, c->win, &trans);
if(!c->isfloating && (c->isfloating = (getclient(trans) != NULL)))
lt->arrange(NULL);
lt->arrange();
break;
case XA_WM_NORMAL_HINTS:
updatesizehints(c);