aewl

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 diff
     1.1 --- a/main.c	Mon Aug 07 17:38:14 2006 +0200
     1.2 +++ b/main.c	Tue Aug 08 09:30:45 2006 +0200
     1.3 @@ -240,6 +240,8 @@
     1.4  
     1.5  	dc.drawable = XCreatePixmap(dpy, root, sw, bh, DefaultDepth(dpy, screen));
     1.6  	dc.gc = XCreateGC(dpy, root, 0, 0);
     1.7 +
     1.8 +	strcpy(stext, "dwm-"VERSION);
     1.9  	drawstatus();
    1.10  
    1.11  	issel = XQueryPointer(dpy, root, &w, &w, &i, &i, &i, &i, &mask);
    1.12 @@ -248,7 +250,6 @@
    1.13  	wa.cursor = cursor[CurNormal];
    1.14  	XChangeWindowAttributes(dpy, root, CWEventMask | CWCursor, &wa);
    1.15  
    1.16 -	strcpy(stext, "dwm-"VERSION);
    1.17  	scan();
    1.18  
    1.19  	/* main event loop, also reads status text from stdin */