tree-wide: rename seat->seat to seat->wlr_seat for clarity

As we use "seat" to refer to the labwc struct, this makes it clearer
at a quick glance which code is using the wlr struct instead.
This commit is contained in:
John Lindgren 2026-02-23 12:25:24 -05:00 committed by Consolatis
parent 4f72e6775e
commit a2e0de7676
16 changed files with 106 additions and 106 deletions

View file

@ -49,13 +49,13 @@ set_or_offer_focus(struct view *view)
struct seat *seat = &server.seat;
switch (view_wants_focus(view)) {
case VIEW_WANTS_FOCUS_ALWAYS:
if (view->surface != seat->seat->keyboard_state.focused_surface) {
if (view->surface != seat->wlr_seat->keyboard_state.focused_surface) {
seat_focus_surface(seat, view->surface);
}
break;
case VIEW_WANTS_FOCUS_LIKELY:
case VIEW_WANTS_FOCUS_UNLIKELY:
if (view->surface != seat->seat->keyboard_state.focused_surface) {
if (view->surface != seat->wlr_seat->keyboard_state.focused_surface) {
view_offer_focus(view);
}
break;