about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-06-14 11:22:22 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-06-14 11:22:22 +0100
commitb6aa84e51b315d9e6d6b111b36ac6901f505ddd8 (patch)
tree4f267402088b26a631523e10f88f9563fa061e69
parent9ff5143acba0c6b457bfb92370c8397b7f124f3a (diff)
downloaddwm-b6aa84e51b315d9e6d6b111b36ac6901f505ddd8.tar.gz
removed the ButtonPressMask for root windows as well
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index dd55ee2..5f6ffe3 100644
--- a/dwm.c
+++ b/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);
n105' href='#n105'>105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161