monitor-manager-xrandr: don't set underscan property when not supported

We should not be setting random output properties like this.
Use the function we just introduced to only set the underscan flag when
it's actually supported.
This commit is contained in:
Cosimo Cecchi 2015-07-01 17:59:36 -07:00 committed by Jasper St. Pierre
parent 94bce5a00f
commit 659b8ed471

View File

@ -1209,6 +1209,7 @@ meta_monitor_manager_xrandr_apply_configuration (MetaMonitorManager *manager,
output_info->output,
output_info->is_presentation);
if (output_get_supports_underscanning_xrandr (manager_xrandr, output_info->output))
output_set_underscanning_xrandr (manager_xrandr,
output_info->output,
output_info->is_underscanning);