wacom: Provide connector name for disambiguation

Provide the connector name as the fourth value in the
tablet's output setting. With recent Mutter, this will
allow disambiguating the mapped output if there happens
to be multiple outputs with the same EDID data.
This commit is contained in:
Carlos Garnacho 2024-02-05 11:06:38 +01:00 committed by Felipe Borges
parent 4786865aa6
commit 75ce02e202

View file

@ -626,7 +626,7 @@ update_displays_model (CcWacomPage *page)
&vendor, &vendor,
&product, &product,
&serial); &serial);
variant = g_variant_new_strv ((const gchar *[]) { vendor, product, serial }, 3); variant = g_variant_new_strv ((const gchar *[]) { vendor, product, serial, name }, 4);
gtk_string_list_append (list, text); gtk_string_list_append (list, text);
obj = g_list_model_get_item (G_LIST_MODEL (list), idx); obj = g_list_model_get_item (G_LIST_MODEL (list), idx);