aewl
changeset 737:f05da68014bd
making the bar appear at bottom
author | Anselm R. Garbe <arg@suckless.org> |
---|---|
date | Thu, 08 Feb 2007 11:08:40 +0100 |
parents | 65e3bea2b1f7 |
children | 2ae946319c7b |
files | main.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/main.c Wed Feb 07 12:42:35 2007 +0100 1.2 +++ b/main.c Thu Feb 08 11:08:40 2007 +0100 1.3 @@ -141,7 +141,7 @@ 1.4 wa.override_redirect = 1; 1.5 wa.background_pixmap = ParentRelative; 1.6 wa.event_mask = ButtonPressMask | ExposureMask; 1.7 - barwin = XCreateWindow(dpy, root, sx, sy, sw, bh, 0, DefaultDepth(dpy, screen), 1.8 + barwin = XCreateWindow(dpy, root, sx, sy + sh - bh, sw, bh, 0, DefaultDepth(dpy, screen), 1.9 CopyFromParent, DefaultVisual(dpy, screen), 1.10 CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa); 1.11 XDefineCursor(dpy, barwin, cursor[CurNormal]); 1.12 @@ -149,7 +149,7 @@ 1.13 strcpy(stext, "dwm-"VERSION); 1.14 /* windowarea */ 1.15 wax = sx; 1.16 - way = sy + bh; 1.17 + way = sy; 1.18 wah = sh - bh; 1.19 waw = sw; 1.20 /* pixmap for everything */