t* dwm + patches
       
   URI git clone git://git.codevoid.de/dwm-sdk
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 28aba061ec2a6fa7923ea00b43e1335a27a73c06
   DIR parent 8e37c78ce3c33842a5800a445f90a3079a377eb6
   URI Author: arg@mmvi <unknown>
       Date:   Fri, 15 Sep 2006 10:54:32 +0200
       
       offscreen client appearance fixes
       Diffstat:
         M client.c                            |      10 ++++++++++
       
       1 file changed, 10 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/client.c b/client.c
       t@@ -281,6 +281,16 @@ resize(Client *c, Bool sizehints, Corner sticky) {
                if(sticky == BotLeft || sticky == BotRight)
                        c->y = bottom - c->h;
        
       +        /* offscreen appearance fixes */
       +        if(c->x + c->w < 0)
       +                c->x = 0;
       +        if(c->y + c->h < bh)
       +                c->y = bh;
       +        if(c->x > sw)
       +                c->x = sw - c->w;
       +        if(c->y > sh)
       +                c->y = sh - c->h;
       +
                resizetitle(c);
                wc.x = c->x;
                wc.y = c->y;