monitor-manager: Use output name as display name in GetResources

This commit is contained in:
Dariusz Gadomski 2018-09-12 16:36:08 +02:00
parent dbe73c3296
commit e9eaa37401

View File

@ -1114,7 +1114,7 @@ meta_monitor_manager_handle_get_resources (MetaDBusDisplayConfig *skeleton,
g_variant_builder_add (&properties, "{sv}", "height-mm", g_variant_builder_add (&properties, "{sv}", "height-mm",
g_variant_new_int32 (output->height_mm)); g_variant_new_int32 (output->height_mm));
g_variant_builder_add (&properties, "{sv}", "display-name", g_variant_builder_add (&properties, "{sv}", "display-name",
g_variant_new_take_string (make_display_name (manager, output))); g_variant_new_string (output->name));
g_variant_builder_add (&properties, "{sv}", "backlight", g_variant_builder_add (&properties, "{sv}", "backlight",
g_variant_new_int32 (output->backlight)); g_variant_new_int32 (output->backlight));
g_variant_builder_add (&properties, "{sv}", "min-backlight-step", g_variant_builder_add (&properties, "{sv}", "min-backlight-step",