1
0
Fork 0

backends/x11: Get ClutterBackend from MetaBackend

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3977>
This commit is contained in:
Bilal Elmoussaoui 2024-08-20 22:11:16 +02:00
parent faa0860e9d
commit 5831a1a555

View file

@ -105,7 +105,7 @@ meta_backend_x11_cm_post_init (MetaBackend *backend)
MetaBackendX11Cm *x11_cm = META_BACKEND_X11_CM (backend);
ClutterSeat *seat;
seat = clutter_backend_get_default_seat (clutter_get_default_backend ());
seat = clutter_backend_get_default_seat (meta_backend_get_clutter_backend (backend));
g_signal_connect_object (seat, "device-added",
G_CALLBACK (on_device_added), backend, 0);