aboutsummaryrefslogtreecommitdiff
path: root/rootston/input.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-11-20 21:15:58 +0100
committeremersion <contact@emersion.fr>2017-11-20 21:15:58 +0100
commit151901123f0f59d0a05b5494e91d5425c99e6b1a (patch)
tree3c4f5cdb49dee27867fca017a89ff54262011822 /rootston/input.c
parent016744ef4d2692c800d613e40fbf5d6267fab2e9 (diff)
parentbecd75fd2ebd31fec9fdcf9cc2f37c5957d31b37 (diff)
Merge branch 'master' into refactor-wlr-list
Diffstat (limited to 'rootston/input.c')
-rw-r--r--rootston/input.c2
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;
}
}