mirror of
https://github.com/labwc/labwc.git
synced 2026-04-03 07:15:34 -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
|
|
@ -330,7 +330,7 @@ handle_input_method_grab_keyboard(struct wl_listener *listener, void *data)
|
|||
struct wlr_input_method_keyboard_grab_v2 *keyboard_grab = data;
|
||||
|
||||
struct wlr_keyboard *active_keyboard =
|
||||
wlr_seat_get_keyboard(relay->seat->seat);
|
||||
wlr_seat_get_keyboard(relay->seat->wlr_seat);
|
||||
|
||||
if (!is_keyboard_emulated_by_input_method(
|
||||
active_keyboard, relay->input_method)) {
|
||||
|
|
@ -414,7 +414,7 @@ handle_new_input_method(struct wl_listener *listener, void *data)
|
|||
struct input_method_relay *relay =
|
||||
wl_container_of(listener, relay, new_input_method);
|
||||
struct wlr_input_method_v2 *input_method = data;
|
||||
if (relay->seat->seat != input_method->seat) {
|
||||
if (relay->seat->wlr_seat != input_method->seat) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -536,7 +536,7 @@ handle_new_text_input(struct wl_listener *listener, void *data)
|
|||
struct input_method_relay *relay =
|
||||
wl_container_of(listener, relay, new_text_input);
|
||||
struct wlr_text_input_v3 *wlr_text_input = data;
|
||||
if (relay->seat->seat != wlr_text_input->seat) {
|
||||
if (relay->seat->wlr_seat != wlr_text_input->seat) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue