소스 검색

fixed missing else branch

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

+ 2 - 1
dwm.c

@@ -374,7 +374,8 @@ buttonpress(XEvent *e) {
 		else if(ev->button == Button2) {
 			if((floating != m->layout->arrange) && c->isfloating)
 				togglefloating(NULL);
-			zoom(NULL);
+			else
+				zoom(NULL);
 		}
 		else if(ev->button == Button3 && !c->isfixed) {
 			restack();