Преглед изворни кода

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

arg@mig29 пре 19 година
родитељ
комит
3aff96177c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      view.c

+ 1 - 1
view.c

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