From b6aa84e51b315d9e6d6b111b36ac6901f505ddd8 Mon Sep 17 00:00:00 2001 From: Anselm R Garbe Date: Sat, 14 Jun 2008 11:22:22 +0100 Subject: removed the ButtonPressMask for root windows as well --- dwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit 1.4.1-2-gfad0