From 78f1d733b5a24bba9cd36c0fde335e14407d12f7 Mon Sep 17 00:00:00 2001 From: Thomas Ulmer Date: Mon, 8 Dec 2025 11:09:26 -0800 Subject: dwm patches to git --- dwm/my-no-focus-follows-mouse.diff | 45 -------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 dwm/my-no-focus-follows-mouse.diff (limited to 'dwm/my-no-focus-follows-mouse.diff') diff --git a/dwm/my-no-focus-follows-mouse.diff b/dwm/my-no-focus-follows-mouse.diff deleted file mode 100644 index 969964a..0000000 --- a/dwm/my-no-focus-follows-mouse.diff +++ /dev/null @@ -1,45 +0,0 @@ -diff -urN ../dwm-clean/dwm.c ./dwm.c ---- ../dwm-clean/dwm.c 2025-08-09 06:00:55.740267680 -0700 -+++ ./dwm.c 2025-12-04 11:03:07.527930789 -0800 -@@ -162,7 +162,6 @@ - static Monitor *dirtomon(int dir); - static void drawbar(Monitor *m); - static void drawbars(void); --static void enternotify(XEvent *e); - static void expose(XEvent *e); - static void focus(Client *c); - static void focusin(XEvent *e); -@@ -248,7 +247,6 @@ - [ConfigureRequest] = configurerequest, - [ConfigureNotify] = configurenotify, - [DestroyNotify] = destroynotify, -- [EnterNotify] = enternotify, - [Expose] = expose, - [FocusIn] = focusin, - [KeyPress] = keypress, -@@ -757,25 +755,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; -- cgit v1.2.3