about summary refs log tree commit diff stats
path: root/config.anselm.h
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-03-13 10:19:05 +0000
committerAnselm R Garbe <garbeam@gmail.com>2008-03-13 10:19:05 +0000
commit02673538bc98daeb2fe31d3667b5f3e0884e4831 (patch)
treedc19a8233bb5a37bfea404b1dadb34b6a774e445 /config.anselm.h
parent95eae7b9d25602cf5fb25ecbc9d92ead8005c1f8 (diff)
downloaddwm-02673538bc98daeb2fe31d3667b5f3e0884e4831.tar.gz
added updatebarpos()
Diffstat (limited to 'config.anselm.h')
-rw-r--r--config.anselm.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/config.anselm.h b/config.anselm.h
index 0e0d3be..f546941 100644
--- a/config.anselm.h
+++ b/config.anselm.h
@@ -72,10 +72,7 @@ setanselmgeoms(void) {
 	mow = mw;
 	moh = mh;
 
-	if(dc.drawable != 0)
-		XFreePixmap(dpy, dc.drawable);
-	dc.drawable = XCreatePixmap(dpy, root, bw, bh, DefaultDepth(dpy, screen));
-	XMoveResizeWindow(dpy, barwin, bx, by, bw, bh);
+	updatebarpos();
 }
 
 void