diff --git a/src/backends/native/meta-seat-impl.c b/src/backends/native/meta-seat-impl.c index 7900f4219..6dd5bfc4d 100644 --- a/src/backends/native/meta-seat-impl.c +++ b/src/backends/native/meta-seat-impl.c @@ -2703,8 +2703,6 @@ meta_seat_impl_constructed (GObject *object) CLUTTER_INPUT_MODE_LOGICAL); seat_impl->core_keyboard = device; - seat_impl->udev_client = g_udev_client_new ((const char *[]) { "input", NULL }); - if (G_OBJECT_CLASS (meta_seat_impl_parent_class)->constructed) G_OBJECT_CLASS (meta_seat_impl_parent_class)->constructed (object); } @@ -2766,7 +2764,6 @@ destroy_in_impl (GTask *task) g_clear_pointer (&seat_impl->libinput, libinput_unref); g_clear_pointer (&seat_impl->tools, g_hash_table_unref); g_clear_pointer (&seat_impl->touch_states, g_hash_table_destroy); - g_clear_object (&seat_impl->udev_client); g_clear_pointer (&seat_impl->event_source, meta_event_source_free); numlock_active = @@ -2812,7 +2809,6 @@ meta_seat_impl_finalize (GObject *object) g_assert (!seat_impl->libinput); g_assert (!seat_impl->tools); - g_assert (!seat_impl->udev_client); g_assert (!seat_impl->event_source); g_free (seat_impl->seat_id); diff --git a/src/backends/native/meta-seat-impl.h b/src/backends/native/meta-seat-impl.h index 05f8d6fd3..bd48f549a 100644 --- a/src/backends/native/meta-seat-impl.h +++ b/src/backends/native/meta-seat-impl.h @@ -96,7 +96,6 @@ struct _MetaSeatImpl MetaViewportInfo *viewports; - GUdevClient *udev_client; gboolean tablet_mode_switch_state; gboolean has_touchscreen; gboolean has_tablet_switch;