diff -ruN ../dwm-clean/dwm.c ./dwm.c --- ../dwm-clean/dwm.c 2025-08-09 06:00:55.740267680 -0700 +++ ./dwm.c 2025-12-03 19:36:27.601767290 -0800 @@ -248,7 +248,6 @@ [ConfigureRequest] = configurerequest, [ConfigureNotify] = configurenotify, [DestroyNotify] = destroynotify, - [EnterNotify] = enternotify, [Expose] = expose, [FocusIn] = focusin, [KeyPress] = keypress, @@ -757,25 +756,6 @@ } void -enternotify(XEvent *e) -{ - Client *c; - Monitor *m; - XCrossingEvent *ev = &e->xcrossing; - - if ((ev->mode != NotifyNormal || ev->detail == NotifyInferior) && ev->window != root) - return; - c = wintoclient(ev->window); - m = c ? c->mon : wintomon(ev->window); - if (m != selmon) { - unfocus(selmon->sel, 1); - selmon = m; - } else if (!c || c == selmon->sel) - return; - focus(c); -} - -void expose(XEvent *e) { Monitor *m;