From: Jason Woofenden Date: Fri, 27 Feb 2015 23:23:41 +0000 (-0500) Subject: don't focus on hover X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=087f21a47c3cbb5990d2d2895a9ebc1a0667cf42 don't focus on hover --- diff --git a/dwm.c b/dwm.c index 6f43444..dd3bc84 100644 --- 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);