monitor-manager-dummy: Remove redundant suggested_x/y setting

The `hotplug_update_mode` is set to FALSE, so they should never be
queried.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1287
This commit is contained in:
Jonas Ådahl 2020-02-26 16:40:47 +01:00 committed by Georges Basile Stavracas Neto
parent 574b49ed95
commit 26ddb07066

View File

@ -210,8 +210,6 @@ append_monitor (MetaMonitorManager *manager,
output_info->vendor = g_strdup ("MetaProducts Inc."); output_info->vendor = g_strdup ("MetaProducts Inc.");
output_info->product = g_strdup ("MetaMonitor"); output_info->product = g_strdup ("MetaMonitor");
output_info->serial = g_strdup_printf ("0xC0FFEE-%d", number); output_info->serial = g_strdup_printf ("0xC0FFEE-%d", number);
output_info->suggested_x = -1;
output_info->suggested_y = -1;
output_info->width_mm = 222; output_info->width_mm = 222;
output_info->height_mm = 125; output_info->height_mm = 125;
output_info->subpixel_order = COGL_SUBPIXEL_ORDER_UNKNOWN; output_info->subpixel_order = COGL_SUBPIXEL_ORDER_UNKNOWN;