Get rid of this quick-and-dirty assumption.
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");
}
evdev_add_devices(udev, &seat->base);
-
- c->seat = &seat->base;
}
static void
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;