summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@gmail.com>2007-08-11 12:11:50 +0200
committerAnselm R. Garbe <garbeam@gmail.com>2007-08-11 12:11:50 +0200
commit2d81b78b853565a3e34a8a9190e2362a6fdde739 (patch)
treed58d24853f77685588e42f73a01d782980a3b95e /event.c
parentb5eea45a316a897632578a74c909aa336557b1d6 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/event.c b/event.c
index 0fa1081..d0716fa 100644
--- a/event.c
+++ b/event.c
@@ -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);