wayland/input: Get ClutterBackend from MetaBackend
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3977>
This commit is contained in:
parent
98c36ad1c6
commit
10f630c4a4
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue