mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-27 03:36:31 +00:00
don't unfocus when mouse leaves a window
This commit is contained in:
parent
7f95c7736e
commit
d34bf87dba
1 changed files with 1 additions and 1 deletions
2
dwl.c
2
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue