aewl

diff main.c @ 570:f05cfa7d5128

applied Gottox patches
author arg@mig29
date Tue, 21 Nov 2006 14:49:13 +0100
parents fe766305eed1
children 8cb54d02a5b6
line diff
     1.1 --- a/main.c	Tue Nov 21 12:17:47 2006 +0100
     1.2 +++ b/main.c	Tue Nov 21 14:49:13 2006 +0100
     1.3 @@ -130,7 +130,8 @@
     1.4  	sh = DisplayHeight(dpy, screen);
     1.5  	master = MASTER;
     1.6  	/* bar */
     1.7 -	bx = by = 0;
     1.8 +	bx = sx;
     1.9 +	by = sy;
    1.10  	bw = sw;
    1.11  	dc.h = bh = dc.font.height + 2;
    1.12  	wa.override_redirect = 1;
    1.13 @@ -144,7 +145,7 @@
    1.14  	strcpy(stext, "dwm-"VERSION);
    1.15  	/* windowarea */
    1.16  	wax = sx;
    1.17 -	way = bh;
    1.18 +	way = sy + bh;
    1.19  	wah = sh - bh;
    1.20  	waw = sw;
    1.21  	/* pixmap for everything */