Always read state from wlr_keyboard in the seat

This commit is contained in:
emersion 2017-11-08 19:02:56 +01:00
parent 84d5e6bbb4
commit 882e620639
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
6 changed files with 52 additions and 74 deletions

View file

@ -133,7 +133,6 @@ void view_teardown(struct roots_view *view) {
struct roots_view *prev_view = views->items[views->length-2];
struct roots_input *input = prev_view->desktop->server->input;
set_view_focus(input, prev_view->desktop, prev_view);
wlr_seat_keyboard_notify_enter(input->wl_seat, prev_view->wlr_surface);
}
struct roots_view *view_at(struct roots_desktop *desktop, double lx, double ly,