diff -r 87a7dbc994e3 -r 770233c1df06 main.c --- a/main.c Mon Aug 07 17:38:14 2006 +0200 +++ b/main.c Tue Aug 08 09:30:45 2006 +0200 @@ -240,6 +240,8 @@ dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen)); dc.gc = XCreateGC(dpy, root, 0, 0); + + strcpy(stext, "dwm-"VERSION); drawstatus(); issel = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask); @@ -248,7 +250,6 @@ wa.cursor = cursor[CurNormal]; XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); - strcpy(stext, "dwm-"VERSION); scan(); /* main event loop, also reads status text from stdin */