commit 728e0e5d71a5d33ee029c7babb6a4b082d7ba203
parent 63f09d1f23399fefa8f128b6d3144cc891ba73ed
Author: Devin J. Pohly <djpohly@gmail.com>
Date: Mon, 15 Jun 2020 09:22:25 -0500
clear correct focus on keyboard leave
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dwl.c b/dwl.c
@@ -598,7 +598,7 @@ focusclient(Client *c, struct wlr_surface *surface, int lift)
* is NULL, we clear the focus instead.
*/
if (!surface) {
- wlr_seat_pointer_notify_clear_focus(seat);
+ wlr_seat_keyboard_notify_clear_focus(seat);
} else if (surface != psurface) {
kb = wlr_seat_get_keyboard(seat);
wlr_seat_keyboard_notify_enter(seat, surface,