togglefloat should only work in dotile mode (thanks to Sander for this hint)

This commit is contained in:
arg@mig29 2006-11-28 17:35:31 +01:00
parent 0a915eba8f
commit 3aff96177c
1 changed files with 1 additions and 1 deletions

2
view.c
View File

@ -202,7 +202,7 @@ restack(void) {
void
togglefloat(Arg *arg) {
if (!sel)
if (!sel || arrange == dofloat)
return;
sel->isfloat = !sel->isfloat;
arrange();