diff options
author | Devin J. Pohly <djpohly@gmail.com> | 2020-04-26 11:34:47 -0500 |
---|---|---|
committer | Devin J. Pohly <djpohly@gmail.com> | 2020-04-26 12:01:00 -0500 |
commit | d34bf87dba037a7c8bd76510230cc25854b68491 (patch) | |
tree | 990b6672306f340439985d2b4a9860a5b37445b8 /dwl.c | |
parent | 7f95c7736e2addaf8271f64782e847a4a11cbc94 (diff) |
don't unfocus when mouse leaves a window
Diffstat (limited to 'dwl.c')
-rw-r--r-- | dwl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |