aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin J. Pohly <djpohly@gmail.com>2020-06-15 09:22:25 -0500
committerDevin J. Pohly <djpohly@gmail.com>2020-06-15 09:22:43 -0500
commit728e0e5d71a5d33ee029c7babb6a4b082d7ba203 (patch)
tree7f01a0e6a57d75ca11ab3ad9e009dfaf36d3e54c
parent63f09d1f23399fefa8f128b6d3144cc891ba73ed (diff)
clear correct focus on keyboard leave
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
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,