diff main.c @ 222:770233c1df06

applied Sanders tiny patches
author Anselm R.Garbe <arg@10ksloc.org>
date Tue, 08 Aug 2006 09:30:45 +0200
parents 51ac019cf587
children f4f5d000ce7a
line wrap: on
line diff
--- 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 */