dwl

My patch set and modifications to dwl
git clone git://git.ethandl.dev/dwl
Log | Files | Refs | README | LICENSE

commit 0047ff740a4f8da430cecdb19084f626bf535b21
parent 9825c26cdd5dfed34022b77a8936c5d8f485e134
Author: Forrest Bushstone <fgb.1@protonmail.com>
Date:   Fri,  5 Apr 2024 21:54:54 -0400

Replicate dwm behavior for sloppyfocus

Diffstat:
Mdwl.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dwl.c b/dwl.c @@ -1882,7 +1882,7 @@ pointerfocus(Client *c, struct wlr_surface *surface, double sx, double sy, { struct timespec now; - if ((!active_constraint || active_constraint->surface != surface) && + if (surface != seat->pointer_state.focused_surface && sloppyfocus && time && c && !client_is_unmanaged(c)) focusclient(c, 0);