summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2017-01-17 11:22:48 +0800
committerJonas Ådahl <jadahl@gmail.com>2017-01-25 16:28:56 +0800
commit097ca01411695aa4f45cb1e13bab2c053c2dab5c (patch)
tree209d4130101867e39a9a73648efe82b98158c8d7 /src
parente8197e8e059c7bd92333771f871a5de1c9b36523 (diff)
downloadmutter-097ca01411695aa4f45cb1e13bab2c053c2dab5c.tar.gz
legacy-monitor-config: Init is_underscanning config field from output
Don't loose the is_underscanning field when creating a new configuration. https://bugzilla.gnome.org/show_bug.cgi?id=777732
Diffstat (limited to 'src')
-rw-r--r--src/backends/meta-monitor-config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backends/meta-monitor-config.c b/src/backends/meta-monitor-config.c
index 669a44c4a..ced23367f 100644
--- a/src/backends/meta-monitor-config.c
+++ b/src/backends/meta-monitor-config.c
@@ -1119,6 +1119,7 @@ init_config_from_preferred_mode (MetaOutputConfig *config,
config->transform = META_MONITOR_TRANSFORM_NORMAL;
config->is_primary = FALSE;
config->is_presentation = FALSE;
+ config->is_underscanning = output->is_underscanning;
}
/* This function handles configuring the outputs when the driver provides a