mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-23 08:56:29 -05:00
Remove roots_seat_{add,remove}_view
This commit is contained in:
parent
76e8e1a6ad
commit
a8b31da52c
5 changed files with 78 additions and 75 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue