Parcourir la source

removed the ButtonPressMask for root windows as well

Anselm R Garbe il y a 17 ans
Parent
commit
b6aa84e51b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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);