mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 03:22:04 +00:00
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:
parent
94bce5a00f
commit
659b8ed471
@ -1209,9 +1209,10 @@ meta_monitor_manager_xrandr_apply_configuration (MetaMonitorManager *manager,
|
||||
output_info->output,
|
||||
output_info->is_presentation);
|
||||
|
||||
output_set_underscanning_xrandr (manager_xrandr,
|
||||
output_info->output,
|
||||
output_info->is_underscanning);
|
||||
if (output_get_supports_underscanning_xrandr (manager_xrandr, output_info->output))
|
||||
output_set_underscanning_xrandr (manager_xrandr,
|
||||
output_info->output,
|
||||
output_info->is_underscanning);
|
||||
|
||||
output->is_primary = output_info->is_primary;
|
||||
output->is_presentation = output_info->is_presentation;
|
||||
|
Loading…
Reference in New Issue
Block a user