From: Anselm R. Garbe Date: Thu, 22 Feb 2007 07:08:36 +0000 (+0100) Subject: fixed exit condition in togglemax() X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=92105e7862822f5c884367c4cb62c0464ee8e636 fixed exit condition in togglemax() --- diff --git a/layout.c b/layout.c index 6a65599..02ef559 100644 --- a/layout.c +++ b/layout.c @@ -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;