diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-11 12:11:50 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-11 12:11:50 +0200 |
commit | 2d81b78b853565a3e34a8a9190e2362a6fdde739 (patch) | |
tree | d58d24853f77685588e42f73a01d782980a3b95e /event.c | |
parent | b5eea45a316a897632578a74c909aa336557b1d6 (diff) |
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
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |