From 2d81b78b853565a3e34a8a9190e2362a6fdde739 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Sat, 11 Aug 2007 12:11:50 +0200 Subject: 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 --- event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'event.c') 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); -- cgit v1.2.3