xserver-multidpi/hw/xfree86/modes
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
..
Makefile.am displayid: Implement mode decoding. 2009-07-17 14:48:55 -04:00
xf86Crtc.c randr: prevent an unnecessary screen resize with multiple displays 2010-06-07 19:59:38 -07:00
xf86Crtc.h Allow for missing or disabled compat_output 2010-02-25 12:48:27 -08:00
xf86Cursors.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86cvt.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86DiDGA.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
xf86DisplayIDModes.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86EdidModes.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86gtf.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Modes.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86Modes.h modes: Fix duplicate detection, and do it more consistently 2009-10-29 14:06:00 -04:00
xf86RandR12.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86RandR12.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Rename.h Allow drivers to set crtc transforms. 2008-11-24 13:24:40 -08:00
xf86Rotate.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00