[mutter] backend/native: Destroy logind helper after seat
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] backend/native: Destroy logind helper after seat
- Date: Tue, 19 Jan 2021 23:04:26 +0000 (UTC)
commit 1c6dd7f30a4ce1dd5b022af0f7aca8b73724a6fb
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Fri Jan 15 10:26:01 2021 +0100
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>
src/backends/native/meta-backend-native.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/backends/native/meta-backend-native.c b/src/backends/native/meta-backend-native.c
index 473508305f..9c222d3501 100644
--- a/src/backends/native/meta-backend-native.c
+++ b/src/backends/native/meta-backend-native.c
@@ -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 *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]