inspector: Show primary too

This commit is contained in:
Matthias Clasen
2016-04-03 10:50:35 -04:00
parent 8ecf370601
commit bdb891c015

View File

@@ -411,6 +411,8 @@ populate_display (GdkScreen *screen, GtkInspectorGeneral *gen)
add_label_row (gen, list, "Size", value, 10);
g_free (value);
add_check_row (gen, list, "Primary", gdk_monitor_is_primary (monitors[i]), 10);
if (gdk_monitor_get_refresh_rate (monitors[i]) != 0)
value = g_strdup_printf ("%.2f mHz",
0.001 * gdk_monitor_get_refresh_rate (monitors[i]));