From 728e0e5d71a5d33ee029c7babb6a4b082d7ba203 Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Mon, 15 Jun 2020 09:22:25 -0500 Subject: clear correct focus on keyboard leave --- dwl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dwl.c') diff --git a/dwl.c b/dwl.c index c1be5d1..70dd08d 100644 --- 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, -- cgit v1.2.3