tapplied resizecol fix by Jukka - dwm - [fork] customized build of dwm, the dynamic window manager
 (HTM) git clone git://src.adamsgaard.dk/dwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 7c052b37c8578a8d759bc761afaf7b676781b537
 (DIR) parent d9c475d7f4978f97b63b462425eb413c11fe337b
 (HTM) Author: Anselm R. Garbe <arg@10kloc.org>
       Date:   Thu,  5 Oct 2006 11:00:55 +0200
       
       applied resizecol fix by Jukka
       Diffstat:
         M view.c                              |       6 ++++--
       
       1 file changed, 4 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/view.c b/view.c
       t@@ -259,6 +259,7 @@ isvisible(Client *c) {
        
        void
        resizecol(Arg *arg) {
       +        int s;
                unsigned int n;
                Client *c;
        
       t@@ -268,13 +269,14 @@ resizecol(Arg *arg) {
                if(!sel || sel->isfloat || n < 2 || (arrange == dofloat))
                        return;
        
       +        s = stackpos == StackBottom ? sh - bh : sw;
                if(sel == getnext(clients)) {
       -                if(master + arg->i > sw - MINW || master + arg->i < MINW)
       +                if(master + arg->i > s - MINW || master + arg->i < MINW)
                                return;
                        master += arg->i;
                }
                else {
       -                if(master - arg->i > sw - MINW || master - arg->i < MINW)
       +                if(master - arg->i > s - MINW || master - arg->i < MINW)
                                return;
                        master -= arg->i;
                }