diff options
| author | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-12-08 11:09:26 -0800 |
|---|---|---|
| committer | Thomas Ulmer <thomasmulmer02@gmail.com> | 2025-12-08 11:09:26 -0800 |
| commit | 78f1d733b5a24bba9cd36c0fde335e14407d12f7 (patch) | |
| tree | 9753aae3a07c84884cd72a475a21b0b3a9cfccf6 /dwm/my-no-focus-follows-mouse.diff | |
| parent | 09075c06088f20df98deb64662477302faeebf13 (diff) | |
dwm patches to git
Diffstat (limited to 'dwm/my-no-focus-follows-mouse.diff')
| -rw-r--r-- | dwm/my-no-focus-follows-mouse.diff | 45 |
1 files changed, 0 insertions, 45 deletions
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; |
