From ca638d13548b271a88238e28a67855a266d17d1a Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 26 Oct 2017 11:26:08 +0200 Subject: [PATCH] monitor-unit-tests: Add support for panel-orientation https://bugzilla.gnome.org/show_bug.cgi?id=782294 --- src/tests/monitor-unit-tests.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tests/monitor-unit-tests.c b/src/tests/monitor-unit-tests.c index 30c7e53d4..0659a4396 100644 --- a/src/tests/monitor-unit-tests.c +++ b/src/tests/monitor-unit-tests.c @@ -112,6 +112,7 @@ typedef struct _MonitorTestCaseOutput gboolean is_laptop_panel; gboolean is_underscanning; const char *serial; + MetaMonitorTransform panel_orientation_transform; } MonitorTestCaseOutput; typedef struct _MonitorTestCaseCrtc @@ -1009,6 +1010,8 @@ create_monitor_test_setup (MonitorTestCase *test_case, : META_CONNECTOR_TYPE_DisplayPort); output->tile_info = test_case->setup.outputs[i].tile_info; output->is_underscanning = test_case->setup.outputs[i].is_underscanning; + output->panel_orientation_transform = + test_case->setup.outputs[i].panel_orientation_transform; output->driver_private = output_test; output->driver_notify = (GDestroyNotify) meta_output_test_destroy_notify;