From 42277b111018c5e83cc867b04156511aa0914bf1 Mon Sep 17 00:00:00 2001 From: "Anselm R.Garbe" Date: Tue, 8 Aug 2006 09:30:45 +0200 Subject: applied Sanders tiny patches --- main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index db039585..5efe5997 100644 --- a/main.c +++ b/main.c @@ -240,6 +240,8 @@ main(int argc, char *argv[]) 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 @@ main(int argc, char *argv[]) wa.cursor = cursor[CurNormal]; XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa); - strcpy(stext, "dwm-"VERSION); scan(); /* main event loop, also reads status text from stdin */ -- cgit v1.2.3