diff options
author | emersion <contact@emersion.fr> | 2017-11-19 18:15:11 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-11-19 18:15:11 +0100 |
commit | a8b31da52c32a65793d6e941b869d5f2d6736775 (patch) | |
tree | 13085dcfbf1c8d0001bc03cc8ed59afe001e27bc /rootston/input.c | |
parent | 76e8e1a6ad8ac3947b568bec32b7ed0acd69bef1 (diff) |
Remove roots_seat_{add,remove}_view
Diffstat (limited to 'rootston/input.c')
-rw-r--r-- | rootston/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootston/input.c b/rootston/input.c index 9f779415..d698c952 100644 --- a/rootston/input.c +++ b/rootston/input.c @@ -116,7 +116,7 @@ bool input_view_has_focus(struct roots_input *input, struct roots_view *view) { } struct roots_seat *seat; wl_list_for_each(seat, &input->seats, link) { - if (seat->focus != NULL && seat->focus->view == view) { + if (view == roots_seat_get_focused_view(seat)) { return true; } } |