Explorar el Código

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

arg@mig29 hace 19 años
padre
commit
3aff96177c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();