xserver-multidpi/hw
Ben Skeggs f7af00e9f0 randr: prevent an unnecessary screen resize with multiple displays
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.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2010-06-07 19:59:38 -07:00
..
dmx Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
kdrive Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
vfb Replace deprecated bzero with memset 2010-06-06 15:07:27 +07:00
xfree86 randr: prevent an unnecessary screen resize with multiple displays 2010-06-07 19:59:38 -07:00
xnest Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
xquartz Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xwin Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
Makefile.am Catch errors in recursive relink targets 2010-03-22 00:45:57 -05:00