t* dwm + patches
       
   URI git clone git://git.codevoid.de/dwm-sdk
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 32f36ab2d58b7bcbadc0b1c9c88654cdf906c71d
   DIR parent 08bcf721b436018306bdbb9fbaca87f941ee6441
   URI Author: arg@suckless.org <unknown>
       Date:   Wed,  4 Jun 2008 11:49:46 +0200
       
       applied nsz's patches (many thanks!)
       Diffstat:
         M dwm.c                               |      11 ++++-------
       
       1 file changed, 4 insertions(+), 7 deletions(-)
       ---
   DIR diff --git a/dwm.c b/dwm.c
       t@@ -551,8 +551,7 @@ drawsquare(Bool filled, Bool empty, Bool invert, ulong col[ColLast]) {
        
        void
        drawtext(const char *text, ulong col[ColLast], Bool invert) {
       -        int i, x, y, h;
       -        uint len, olen;
       +        int i, x, y, h, len, olen;
                XRectangle r = { dc.x, dc.y, dc.w, dc.h };
                char buf[256];
        
       t@@ -612,7 +611,7 @@ expose(XEvent *e) {
        
        void
        focus(Client *c) {
       -        if(!c || (c && c->isbanned))
       +        if(!c || c->isbanned)
                        for(c = stack; c && c->isbanned; c = c->snext);
                if(sel && sel != c) {
                        grabbuttons(sel, False);
       t@@ -622,14 +621,12 @@ focus(Client *c) {
                        detachstack(c);
                        attachstack(c);
                        grabbuttons(c, True);
       -        }
       -        sel = c;
       -        if(c) {
                        XSetWindowBorder(dpy, c->win, dc.sel[ColBorder]);
                        XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
                }
                else
                        XSetInputFocus(dpy, root, RevertToPointerRoot, CurrentTime);
       +        sel = c;
                drawbar();
        }
        
       t@@ -1565,8 +1562,8 @@ updatebar(void) {
        
        void
        updategeom(void) {
       -        int i;
        #ifdef XINERAMA
       +        int i;
                XineramaScreenInfo *info = NULL;
        
                /* window area geometry */