removed the ButtonPressMask for root windows as well b6aa84e5
Anselm R Garbe · 2008-06-14 11:22 1 file(s) · +1 −1
dwm.c +1 −1
1379 1379
			PropModeReplace, (unsigned char *) netatom, NetLast);
1380 1380
1381 1381
	/* select for events */
1382 -
	wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask|ButtonPressMask
1382 +
	wa.event_mask = SubstructureRedirectMask|SubstructureNotifyMask
1383 1383
			|EnterWindowMask|LeaveWindowMask|StructureNotifyMask;
1384 1384
	XChangeWindowAttributes(dpy, root, CWEventMask|CWCursor, &wa);
1385 1385
	XSelectInput(dpy, root, wa.event_mask);