JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
don't focus on hover
authorJason Woofenden <jason@jasonwoof.com>
Fri, 27 Feb 2015 23:23:41 +0000 (18:23 -0500)
committerJason Woofenden <jason@jasonwoof.com>
Fri, 27 Feb 2015 23:23:41 +0000 (18:23 -0500)
dwm.c

diff --git a/dwm.c b/dwm.c
index 6f43444..dd3bc84 100644 (file)
--- a/dwm.c
+++ b/dwm.c
@@ -842,6 +842,8 @@ enternotify(XEvent *e) {
        Monitor *m;
        XCrossingEvent *ev = &e->xcrossing;
 
+       return; // jason: added to stop mouse focus
+
        if((ev->mode != NotifyNormal || ev->detail == NotifyInferior) && ev->window != root)
                return;
        c = wintoclient(ev->window);