From 667fe80afccb94135d255cda26ed8f1c140de474 Mon Sep 17 00:00:00 2001 From: Squibid Date: Sun, 16 Feb 2025 22:14:52 -0600 Subject: Revert "Replicate dwm behavior for sloppyfocus" I find this completely unintuitive, and annoying to use. This reverts commit 0047ff740a4f8da430cecdb19084f626bf535b21. --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 60be9f8..8e258d8 100644 --- a/dwl.c +++ b/dwl.c @@ -2759,7 +2759,7 @@ pointerfocus(Client *c, struct wlr_surface *surface, double sx, double sy, { struct timespec now; - if (surface != seat->pointer_state.focused_surface && + if ((!active_constraint || active_constraint->surface != surface) && sloppyfocus && time && c && !client_is_unmanaged(c)) focusclient(c, 0); -- cgit v1.2.1