소스 검색

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();