diff options
author | Jonas Ã…dahl <jadahl@gmail.com> | 2021-03-12 08:31:50 +0100 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2021-03-13 18:56:21 +0000 |
commit | 6ecd911dd0fe370c93486f41798f8f36a70e2187 (patch) | |
tree | d1c5170d93948d00787a3791928c8cf26dd08358 /src/backends/meta-backend-private.h | |
parent | 16b63451a36bedf941c1325e67c0f4a3287fe8e6 (diff) | |
download | mutter-6ecd911dd0fe370c93486f41798f8f36a70e2187.tar.gz |
backend: Take over seat ownership from the clutter backend
Having the clutter backend owning and managing creates complication for
implementing graceful shutdown, so move it to the real backend.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1775>
Diffstat (limited to 'src/backends/meta-backend-private.h')
-rw-r--r-- | src/backends/meta-backend-private.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/backends/meta-backend-private.h b/src/backends/meta-backend-private.h index 0c328ffcc..b930462b2 100644 --- a/src/backends/meta-backend-private.h +++ b/src/backends/meta-backend-private.h @@ -71,6 +71,9 @@ struct _MetaBackendClass GError **error); MetaInputSettings * (* get_input_settings) (MetaBackend *backend); + ClutterSeat * (* create_default_seat) (MetaBackend *backend, + GError **error); + gboolean (* grab_device) (MetaBackend *backend, int device_id, uint32_t timestamp); @@ -122,6 +125,8 @@ void meta_backend_init_wayland (MetaBackend *backend); ClutterBackend * meta_backend_get_clutter_backend (MetaBackend *backend); +ClutterSeat * meta_backend_get_default_seat (MetaBackend *bakcend); + MetaIdleMonitor * meta_backend_get_idle_monitor (MetaBackend *backend, ClutterInputDevice *device); void meta_backend_foreach_device_monitor (MetaBackend *backend, |