Add roots_seat_cycle_focus

This commit is contained in:
emersion 2017-11-19 19:21:18 +01:00
parent bf41e7a794
commit 97ddd2d1df
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
5 changed files with 18 additions and 11 deletions

View file

@ -197,7 +197,7 @@ void view_setup(struct roots_view *view) {
// TODO what seat gets focus? the one with the last input event?
struct roots_seat *seat;
wl_list_for_each(seat, &input->seats, link) {
roots_seat_focus_view(seat, view);
roots_seat_set_focus(seat, view);
}
view_center(view);