dwl

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

commit d34bf87dba037a7c8bd76510230cc25854b68491
parent 7f95c7736e2addaf8271f64782e847a4a11cbc94
Author: Devin J. Pohly <djpohly@gmail.com>
Date:   Sun, 26 Apr 2020 11:34:47 -0500

don't unfocus when mouse leaves a window

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

diff --git a/dwl.c b/dwl.c @@ -738,7 +738,7 @@ pointerfocus(Client *c, struct wlr_surface *surface, double sx, double sy) wlr_seat_pointer_notify_enter(seat, surface, sx, sy); /* If keyboard focus follows mouse, enforce that */ - if (sloppyfocus) + if (sloppyfocus && c) keyboardfocus(c, surface); }