mirror of
https://github.com/labwc/labwc.git
synced 2026-04-07 08:21:20 -04:00
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:
parent
4f72e6775e
commit
a2e0de7676
16 changed files with 106 additions and 106 deletions
|
|
@ -678,7 +678,7 @@ handle_focus_in(struct wl_listener *listener, void *data)
|
|||
return;
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
|
@ -1220,7 +1220,7 @@ handle_server_ready(struct wl_listener *listener, void *data)
|
|||
static void
|
||||
handle_xwm_ready(struct wl_listener *listener, void *data)
|
||||
{
|
||||
wlr_xwayland_set_seat(server.xwayland, server.seat.seat);
|
||||
wlr_xwayland_set_seat(server.xwayland, server.seat.wlr_seat);
|
||||
xwayland_update_workarea();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue