Explorar o código

removed the ButtonPressMask for root windows as well

Anselm R Garbe %!s(int64=17) %!d(string=hai) anos
pai
achega
b6aa84e51b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);