backend/native: Destroy logind helper after seat

Otherwise we don't actually close input devices using it, since that
would happen after meta_launcher_free() was called.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1670>
This commit is contained in:
Jonas Ådahl 2021-01-15 10:26:01 +01:00
parent db6bf9d14e
commit 1c6dd7f30a

View File

@ -101,9 +101,10 @@ meta_backend_native_dispose (GObject *object)
g_clear_object (&native->kms);
g_clear_object (&native->udev);
g_clear_pointer (&native->launcher, meta_launcher_free);
G_OBJECT_CLASS (meta_backend_native_parent_class)->dispose (object);
g_clear_pointer (&native->launcher, meta_launcher_free);
}
static ClutterBackend *