agreed with Sander
arg@mig29 unknown
Mon, 18 Dec 2006 13:25:11 +0100
1 files changed,
3 insertions(+),
6 deletions(-)
jump to
M
main.c
→
main.c
@@ -411,12 +411,9 @@ wa.background_pixmap = ParentRelative;
wa.event_mask = ExposureMask | ButtonPressMask | KeyPressMask; mx = my = 0; mw = DisplayWidth(dpy, screen); - if(bottom) { - mh = dc.font.ascent + dc.font.descent + 3; // match wmii - my = DisplayHeight(dpy, screen) - mh; - } - else - mh = dc.font.height + 2; + mh = dc.font.height + 2; + if(bottom) + my += DisplayHeight(dpy, screen) - mh; win = XCreateWindow(dpy, root, mx, my, mw, mh, 0, DefaultDepth(dpy, screen), CopyFromParent, DefaultVisual(dpy, screen),