summaryrefslogtreecommitdiff
path: root/dwm/my-no-focus-follows-mouse.diff
diff options
context:
space:
mode:
Diffstat (limited to 'dwm/my-no-focus-follows-mouse.diff')
-rw-r--r--dwm/my-no-focus-follows-mouse.diff45
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;