Browse Source

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

arg@mig29 19 năm trước cách đây
mục cha
commit
3aff96177c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();