dwm-meillo

diff view.c @ 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 1477b61ec8d4
children f7dcd3ac8d6f
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();