diff options
author | Tony Crisci <tony@dubstepdish.com> | 2017-11-20 06:25:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-20 06:25:00 -0500 |
commit | 083fe4506b9a57353fdee36ad05252742cc6429f (patch) | |
tree | 0fca8bfca5123cc60ce99e2cf3d6746a5cc7f20c /rootston/input.c | |
parent | e0bdc16a10449d3bdf4517b5a85a9d55085d97c7 (diff) | |
parent | 0191f3f711b642aa496204e770eaa0dc1914f26d (diff) |
Merge pull request #427 from emersion/seat-views
rootston: add per-seat views
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; } } |