소스 검색

fixed exit condition in togglemax()

Anselm R. Garbe 18 년 전
부모
커밋
92105e7862
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      layout.c

+ 1 - 1
layout.c

@@ -195,7 +195,7 @@ void
 togglemax(Arg arg) {
 	XEvent ev;
 
-	if(!sel || !sel->isversatile || sel->isfixed || lt->arrange != versatile)
+	if(!sel || (lt->arrange != versatile && !sel->isversatile) || sel->isfixed)
 		return;
 	if((sel->ismax = !sel->ismax)) {
 		sel->rx = sel->x;