clutter/seat: Add seat name

This is similar to the existing seat-id that is part of MetaSeatNative,
but meant to be passed to created input capture seats.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2628>
This commit is contained in:
Jonas Ådahl
2022-04-13 11:34:55 +02:00
committed by Carlos Garnacho
parent e917b7de43
commit a2bdce2c8e
3 changed files with 55 additions and 0 deletions

View File

@ -155,6 +155,7 @@ meta_backend_native_create_default_seat (MetaBackend *backend,
return CLUTTER_SEAT (g_object_new (META_TYPE_SEAT_NATIVE,
"backend", backend,
"seat-id", seat_id,
"name", seat_id,
"flags", flags,
NULL));
}