agreed with Sander f8d2a29a
arg@mig29 · 2006-12-18 13:25 1 file(s) · +3 −6
main.c +3 −6
411 411
	wa.event_mask = ExposureMask | ButtonPressMask | KeyPressMask;
412 412
	mx = my = 0;
413 413
	mw = DisplayWidth(dpy, screen);
414 -
	if(bottom) {
415 -
		mh = dc.font.ascent + dc.font.descent + 3; // match wmii
416 -
		my = DisplayHeight(dpy, screen) - mh;
417 -
	}
418 -
	else
419 -
		mh = dc.font.height + 2;
414 +
	mh = dc.font.height + 2;
415 +
	if(bottom)
416 +
		my += DisplayHeight(dpy, screen) - mh;
420 417
	win = XCreateWindow(dpy, root, mx, my, mw, mh, 0,
421 418
			DefaultDepth(dpy, screen), CopyFromParent,
422 419
			DefaultVisual(dpy, screen),