diff options
| author | Anselm R. Garbe <arg@suckless.org> | 2007-05-15 13:23:51 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@suckless.org> | 2007-05-15 13:23:51 +0200 |
| commit | cf58091736de194fabfd25420bbd1999b4ad3360 (patch) | |
| tree | 77aaa2f837f06deefbea85fdd99a7310066d6f07 /main.c | |
| parent | made bar togglalble (diff) | |
| download | dwm-cf58091736de194fabfd25420bbd1999b4ad3360.tar.gz dwm-cf58091736de194fabfd25420bbd1999b4ad3360.zip | |
fixed bpos init
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -194,6 +194,7 @@ setup(void) { | |||
| 194 | DefaultDepth(dpy, screen), CopyFromParent, DefaultVisual(dpy, screen), | 194 | DefaultDepth(dpy, screen), CopyFromParent, DefaultVisual(dpy, screen), |
| 195 | CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa); | 195 | CWOverrideRedirect | CWBackPixmap | CWEventMask, &wa); |
| 196 | XDefineCursor(dpy, barwin, cursor[CurNormal]); | 196 | XDefineCursor(dpy, barwin, cursor[CurNormal]); |
| 197 | bpos = BARPOS; | ||
| 197 | updatebarpos(); | 198 | updatebarpos(); |
| 198 | XMapRaised(dpy, barwin); | 199 | XMapRaised(dpy, barwin); |
| 199 | strcpy(stext, "dwm-"VERSION); | 200 | strcpy(stext, "dwm-"VERSION); |
