From e9eaa37401faa082280d4f3481fb0ea3683a5d84 Mon Sep 17 00:00:00 2001 From: Dariusz Gadomski Date: Wed, 12 Sep 2018 16:36:08 +0200 Subject: [PATCH] monitor-manager: Use output name as display name in GetResources --- src/backends/meta-monitor-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/meta-monitor-manager.c b/src/backends/meta-monitor-manager.c index d4b9bdde4..61333b4e5 100644 --- a/src/backends/meta-monitor-manager.c +++ b/src/backends/meta-monitor-manager.c @@ -1114,7 +1114,7 @@ meta_monitor_manager_handle_get_resources (MetaDBusDisplayConfig *skeleton, g_variant_builder_add (&properties, "{sv}", "height-mm", g_variant_new_int32 (output->height_mm)); 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_new_int32 (output->backlight)); g_variant_builder_add (&properties, "{sv}", "min-backlight-step",