소스 검색

removed the ButtonPressMask for root windows as well

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

+ 1 - 1
dwm.c

@@ -1379,7 +1379,7 @@ setup(void) {
 			PropModeReplace, (unsigned char *) netatom, NetLast);
 
 	/* select for events */
-	wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask|ButtonPressMask
+	wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask
 			|EnterWindowMask|LeaveWindowMask|StructureNotifyMask;
 	XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
 	XSelectInput(dpy, root, wa.event_mask);