diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-02-08 11:08:40 +0100 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-02-08 11:08:40 +0100 |
| commit | 4590d7877c1ec4ea4a3f0a832f8ea037612d7096 (patch) | |
| tree | b57e6bad01a185a8c389bb7e4c24147be9ed5e38 /main.c | |
| parent | Added tag 3.4 for changeset 9ede7b2d2450 (diff) | |
| download | dwm-4590d7877c1ec4ea4a3f0a832f8ea037612d7096.tar.gz dwm-4590d7877c1ec4ea4a3f0a832f8ea037612d7096.zip | |
making the bar appear at bottom
Diffstat (limited to '')
| -rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -141,7 +141,7 @@ setup(void) { | |||
| 141 | wa.override_redirect = 1; | 141 | wa.override_redirect = 1; |
| 142 | wa.background_pixmap = ParentRelative; | 142 | wa.background_pixmap = ParentRelative; |
| 143 | wa.event_mask = ButtonPressMask | ExposureMask; | 143 | wa.event_mask = ButtonPressMask | ExposureMask; |
| 144 | barwin = XCreateWindow(dpy, root, sx, sy, sw, bh, 0, DefaultDepth(dpy, screen), | 144 | barwin = XCreateWindow(dpy, root, sx, sy + sh - bh, sw, bh, 0, DefaultDepth(dpy, screen), |
| 145 | CopyFromParent, DefaultVisual(dpy, screen), | 145 | CopyFromParent, DefaultVisual(dpy, screen), |
| 146 | CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa); | 146 | CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa); |
| 147 | XDefineCursor(dpy, barwin, cursor[CurNormal]); | 147 | XDefineCursor(dpy, barwin, cursor[CurNormal]); |
| @@ -149,7 +149,7 @@ setup(void) { | |||
| 149 | strcpy(stext, "dwm-"VERSION); | 149 | strcpy(stext, "dwm-"VERSION); |
| 150 | /* windowarea */ | 150 | /* windowarea */ |
| 151 | wax = sx; | 151 | wax = sx; |
| 152 | way = sy + bh; | 152 | way = sy; |
| 153 | wah = sh - bh; | 153 | wah = sh - bh; |
| 154 | waw = sw; | 154 | waw = sw; |
| 155 | /* pixmap for everything */ | 155 | /* pixmap for everything */ |
