X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=dwm.c;h=dd3bc843d801752e4a07d5324f255e611c8e7a29;hp=6f4344419cde0a13eaa17a09206513bb732563e9;hb=087f21a47c3cbb5990d2d2895a9ebc1a0667cf42;hpb=b623b234e3d716b5dd59b445e81741cdd8d81d26 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);