tfixed exit condition in togglemax() - 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 92105e7862822f5c884367c4cb62c0464ee8e636
 (DIR) parent 6ee9f1345760f320dd76c713754ba2a70669bedd
 (HTM) Author: Anselm R. Garbe <arg@suckless.org>
       Date:   Thu, 22 Feb 2007 08:08:36 +0100
       
       fixed exit condition in togglemax()
       Diffstat:
         M layout.c                            |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/layout.c b/layout.c
       t@@ -195,7 +195,7 @@ void
        togglemax(Arg arg) {
                XEvent ev;
        
       -        if(!sel || !sel->isversatile || sel->isfixed || lt->arrange != versatile)
       +        if(!sel || (lt->arrange != versatile && !sel->isversatile) || sel->isfixed)
                        return;
                if((sel->ismax = !sel->ismax)) {
                        sel->rx = sel->x;