tremoved the ButtonPressMask for root windows as well - dwm - [fork] customized build of dwm, the dynamic window manager
 (HTM) git clone git://src.adamsgaard.dk/dwm
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit b6aa84e51b315d9e6d6b111b36ac6901f505ddd8
 (DIR) parent 9ff5143acba0c6b457bfb92370c8397b7f124f3a
 (HTM) Author: Anselm R Garbe <garbeam@gmail.com>
       Date:   Sat, 14 Jun 2008 11:22:22 +0100
       
       removed the ButtonPressMask for root windows as well
       Diffstat:
         M dwm.c                               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/dwm.c b/dwm.c
       t@@ -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);