mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-22 08:56:28 -05:00
Make the close command use roots_seat_get_focus, rename a few symbols
This commit is contained in:
parent
a8b31da52c
commit
bf41e7a794
5 changed files with 17 additions and 18 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 (view == roots_seat_get_focused_view(seat)) {
|
||||
if (view == roots_seat_get_focus(seat)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue