summaryrefslogtreecommitdiff
path: root/src/tests/monitor-unit-tests.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-10-26 11:26:08 +0200
committerJonas Ã…dahl <jadahl@gmail.com>2017-12-25 17:01:45 +0800
commitca638d13548b271a88238e28a67855a266d17d1a (patch)
tree2423ef9dbd95b1d7ed982f536f3464de87066916 /src/tests/monitor-unit-tests.c
parentf12e6ad4f18c34c30777f91903ea891216468b88 (diff)
downloadmutter-ca638d13548b271a88238e28a67855a266d17d1a.tar.gz
monitor-unit-tests: Add support for panel-orientation
https://bugzilla.gnome.org/show_bug.cgi?id=782294
Diffstat (limited to 'src/tests/monitor-unit-tests.c')
-rw-r--r--src/tests/monitor-unit-tests.c3
1 files changed, 3 insertions, 0 deletions
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;