GNOME Bugzilla – Bug 778092
clutter assigns hardcoded seat0 to libinput
Last modified: 2017-02-02 22:42:35 UTC
Wayland session fails to start, because clutter assigns hardcoded seat0 to libinput in clutter/clutter/evdev/clutter-device-manager-evdev.c.
Created attachment 344801 [details] [review] backends: Pass seat ID to evdev ClutterDeviceManager Clutter assumed seat0 which is most usually, but not always correct. Add an evdev-backend specific function to allow passing the seat that will be used for ClutterDeviceManager construction, which we already obtain in MetaLauncher.
Review of attachment 344801 [details] [review]: LGTM ::: clutter/clutter/evdev/clutter-device-manager-evdev.c @@ +2806,3 @@ notify_absolute_motion (pointer_device, ms2us(time_), x, y, NULL); } + Probably a good idea to add a comment as for clutter_evdev_set_device_callbacks() that the function must be called before clutter_init().
Thanks :). Added the comment and pushed. Attachment 344801 [details] pushed as 9c79a16 - backends: Pass seat ID to evdev ClutterDeviceManager