backends/native: Do not dispatch libinput during MetaSeatImpl construction

This saves us from some egg/chicken problems, since we mean to use the
MetaInputSettings while it (thus far) is created at a later stage.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403
This commit is contained in:
Carlos Garnacho 2020-08-11 18:22:54 +02:00
parent c850aa9733
commit 09e02a772e

View File

@ -2482,8 +2482,6 @@ meta_seat_impl_constructed (GObject *object)
seat->udev_client = g_udev_client_new ((const gchar *[]) { "input", NULL }); seat->udev_client = g_udev_client_new ((const gchar *[]) { "input", NULL });
dispatch_libinput (seat);
source = meta_event_source_new (seat); source = meta_event_source_new (seat);
seat->event_source = source; seat->event_source = source;