monitor-manager: Add a connector-type property

This is so gnome-settings-daemon
This commit is contained in:
Jasper St. Pierre
2014-12-29 16:18:24 -08:00
parent 44a60eb7e9
commit d514e8ab41
4 changed files with 196 additions and 0 deletions

View File

@ -537,6 +537,9 @@ meta_monitor_manager_kms_read_current (MetaMonitorManager *manager)
meta_output->serial = g_strdup ("unknown");
}
/* MetaConnectorType matches DRM's connector types */
meta_output->connector_type = (MetaConnectorType) connector->connector_type;
/* FIXME: backlight is a very driver specific thing unfortunately,
every DDX does its own thing, and the dumb KMS API does not include it.