1
0
Fork 0

wayland/input: 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 23:38:15 +02:00
parent 98c36ad1c6
commit 10f630c4a4

View file

@ -148,8 +148,14 @@ meta_wayland_input_invalidate_all_focus (MetaWaylandInput *input,
{
MetaWaylandEventHandler *handler;
MetaWaylandSeat *seat = input->seat;
MetaWaylandCompositor *compositor = seat->compositor;
MetaContext *context =
meta_wayland_compositor_get_context (compositor);
MetaBackend *backend = meta_context_get_backend (context);
ClutterBackend *clutter_backend =
meta_backend_get_clutter_backend (backend);
ClutterSeat *clutter_seat =
clutter_backend_get_default_seat (clutter_get_default_backend ());
clutter_backend_get_default_seat (clutter_backend);
ClutterInputDevice *device;
GHashTableIter iter;