Commit cc0d926a authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

backends: add gf_monitor_manager_get_vendor_name

Based on mutter commit:
mutter@c3c66683
parent 628b0eec
......@@ -222,6 +222,9 @@ GfLogicalMonitorLayoutMode gf_monitor_manager_get_default_layout_mode (GfM
GfMonitorConfigManager *gf_monitor_manager_get_config_manager (GfMonitorManager *manager);
char *gf_monitor_manager_get_vendor_name (GfMonitorManager *manager,
const char *vendor);
static inline gboolean
gf_monitor_transform_is_rotated (GfMonitorTransform transform)
{
......
......@@ -2614,6 +2614,16 @@ gf_monitor_manager_get_config_manager (GfMonitorManager *manager)
return manager->config_manager;
}
char *
gf_monitor_manager_get_vendor_name (GfMonitorManager *manager,
const char *vendor)
{
if (!manager->pnp_ids)
manager->pnp_ids = gnome_pnp_ids_new ();
return gnome_pnp_ids_get_pnp_id (manager->pnp_ids, vendor);
}
gint
gf_monitor_manager_get_monitor_for_connector (GfMonitorManager *manager,
const gchar *connector)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment