diff options
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 a5d710c4..ce20e840 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 == view) { + if (view == roots_seat_get_focus(seat)) { return true; } } |