dwm-meillo

changeset 591:d9e9df9fdce6

togglefloat should only work in dotile mode (thanks to Sander for this hint)
author arg@mig29
date Tue, 28 Nov 2006 17:35:31 +0100
parents d6ff27532fdd
children 32b246925086
files view.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/view.c	Mon Nov 27 17:51:50 2006 +0100
     1.2 +++ b/view.c	Tue Nov 28 17:35:31 2006 +0100
     1.3 @@ -202,7 +202,7 @@
     1.4  
     1.5  void
     1.6  togglefloat(Arg *arg) {
     1.7 -	if (!sel)
     1.8 +	if (!sel || arrange == dofloat)
     1.9  		return;
    1.10  	sel->isfloat = !sel->isfloat;
    1.11  	arrange();