mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 05:18:01 +02:00
compositor: Remove compositor->seat
Get rid of this quick-and-dirty assumption.
This commit is contained in:
parent
ef6f136d65
commit
16333ab0ab
3 changed files with 0 additions and 6 deletions
|
|
@ -340,7 +340,6 @@ android_seat_create(struct android_compositor *compositor)
|
|||
weston_seat_init(&seat->base, &compositor->base);
|
||||
seat->base.led_update = android_led_update;
|
||||
wl_list_init(&seat->devices_list);
|
||||
compositor->base.seat = &seat->base;
|
||||
|
||||
android_seat_scan_devices(seat, "/dev/input");
|
||||
|
||||
|
|
|
|||
|
|
@ -2037,8 +2037,6 @@ evdev_input_create(struct weston_compositor *c, struct udev *udev,
|
|||
}
|
||||
|
||||
evdev_add_devices(udev, &seat->base);
|
||||
|
||||
c->seat = &seat->base;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
|
|
@ -290,9 +290,6 @@ struct weston_compositor {
|
|||
struct wl_event_loop *input_loop;
|
||||
struct wl_event_source *input_loop_source;
|
||||
|
||||
/* There can be more than one, but not right now... */
|
||||
struct weston_seat *seat;
|
||||
|
||||
struct weston_layer fade_layer;
|
||||
struct weston_layer cursor_layer;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue