[PATCH] randr: prevent an unnecessary screen resize with multiple displays

Keith Packard keithp at keithp.com
Sun Jun 6 17:58:57 PDT 2010

On Mon,  7 Jun 2010 10:21:18 +1000, Ben Skeggs <skeggsb at gmail.com> wrote:
> From: Ben Skeggs <bskeggs at redhat.com>
> crtc->{x,y} is always 0 when xf86DefaultScreenLimits() is called, so we
> calculate too small an area for the initial framebuffer and force a resize
> to happen.
> This commit fixes the code to use desired{X,Y} instead, which contains the
> initial output positions.

Looks right to me.

Reviewed-by: Keith Packard <keithp at keithp.com

keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20100606/7d5c9215/attachment.pgp>

More information about the xorg-devel mailing list