xdg-seat: keyboard grabs

This commit is contained in:
Tony Crisci 2017-10-07 11:02:11 -04:00
parent 27ee171d25
commit 4680943e74
5 changed files with 211 additions and 18 deletions

View file

@ -234,7 +234,7 @@ static void do_cursor_button_press(struct roots_input *input,
% (sizeof(input->input_events) / sizeof(input->input_events[0]));
set_view_focus(input, desktop, view);
if (view) {
wlr_seat_keyboard_enter(input->wl_seat, surface);
wlr_seat_keyboard_notify_enter(input->wl_seat, surface);
}
break;
}