about summary refs log tree commit diff stats
path: root/main.c
diff options
context:
space:
mode:
authorarg@mig29 <unknown>2006-11-21 14:49:13 +0100
committerarg@mig29 <unknown>2006-11-21 14:49:13 +0100
commit931e712eac3dad86e9447944ac70f7b238f8a58d (patch)
tree094a2bcc36937099d60fded7a18673f1bda86eb5 /main.c
parent4ec04209e0b63c76bc607ed963707ef0640c9ed4 (diff)
downloaddwm-931e712eac3dad86e9447944ac70f7b238f8a58d.tar.gz
applied Gottox patches
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.c b/main.c
index 0f22c44..f114bae 100644
--- a/main.c
+++ b/main.c
@@ -130,7 +130,8 @@ setup(void) {
 	sh = DisplayHeight(dpy, screen);
 	master = MASTER;
 	/* bar */
-	bx = by = 0;
+	bx = sx;
+	by = sy;
 	bw = sw;
 	dc.h = bh = dc.font.height + 2;
 	wa.override_redirect = 1;
@@ -144,7 +145,7 @@ setup(void) {
 	strcpy(stext, "dwm-"VERSION);
 	/* windowarea */
 	wax = sx;
-	way = bh;
+	way = sy + bh;
 	wah = sh - bh;
 	waw = sw;
 	/* pixmap for everything */