Query modes on disabled (but not ignored) outputs.
Code that disabled mode detection on disabled outputs would confuse applications by listing said outputs as connected but without any modes. This makes the disabled state in the config file affect only the initial configuration and not subsequent modifications by RandR.
This commit is contained in:
@@ -1254,7 +1254,7 @@ xf86ProbeOutputModes (ScrnInfoPtr scrn, int maxX, int maxY)
|
||||
*/
|
||||
output->status = (*output->funcs->detect)(output);
|
||||
|
||||
if (!xf86OutputEnabled (output))
|
||||
if (output->status == XF86OutputStatusDisconnected)
|
||||
{
|
||||
xf86OutputSetEDID (output, NULL);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user