randr: Nuke broken set_origin shortcut
Shortcut is impossible to implement this way, because we don't know for sure whether the crtc of an output has changed or not.
This commit is contained in:
parent
6544490700
commit
cadf65a6e1
|
@ -306,19 +306,6 @@ xf86CrtcSetModeTransform (xf86CrtcPtr crtc, DisplayModePtr mode, Rotation rotati
|
||||||
} else
|
} else
|
||||||
crtc->transformPresent = FALSE;
|
crtc->transformPresent = FALSE;
|
||||||
|
|
||||||
if (crtc->funcs->set_origin &&
|
|
||||||
memcmp (mode, &saved_mode, sizeof(saved_mode)) == 0 &&
|
|
||||||
saved_rotation == rotation &&
|
|
||||||
saved_transform_present == crtc->transformPresent &&
|
|
||||||
(!crtc->transformPresent || RRTransformEqual(&saved_transform, &crtc->transform)))
|
|
||||||
{
|
|
||||||
if (!xf86CrtcRotate (crtc))
|
|
||||||
goto done;
|
|
||||||
crtc->funcs->set_origin (crtc, crtc->x, crtc->y);
|
|
||||||
ret = TRUE;
|
|
||||||
goto done;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Pass our mode to the outputs and the CRTC to give them a chance to
|
/* Pass our mode to the outputs and the CRTC to give them a chance to
|
||||||
* adjust it according to limitations or output properties, and also
|
* adjust it according to limitations or output properties, and also
|
||||||
* a chance to reject the mode entirely.
|
* a chance to reject the mode entirely.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user