Make PreferredMode option in config file override EDID mode preferences.

When the PreferredMode option is selected in the config file, remove the
M_T_PREFERRED bit from all other preferred modes to force the config file
mode to be selected.
This commit is contained in:
Keith Packard 2007-07-19 13:28:00 -07:00
parent 73a93c5a6b
commit dc9c519628

View File

@ -1414,8 +1414,9 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
output->probed_modes = mode;
}
mode->type |= M_T_PREFERRED;
break;
}
else
mode->type &= ~M_T_PREFERRED;
}
}