xserver/hw/xfree86/modes
Ben Skeggs 48407d86e3 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>
(cherry picked from commit f7af00e9f0)
2010-11-11 13:09:25 +01: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-11-11 13:09:25 +01:00
xf86Crtc.h Allow for missing or disabled compat_output 2010-03-04 16:12:17 +01:00
xf86Cursors.c rotation: fix cursor and overlap of one pixel. 2010-11-11 12:52:41 +01:00
xf86cvt.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86DiDGA.c Re-fix DGA removal. 2009-10-01 16:27:36 +10:00
xf86DisplayIDModes.c displayid: Implement mode decoding. 2009-07-17 14:48:55 -04:00
xf86EdidModes.c xfree86: Edid quirk for Philips LCD LP154W01 2009-11-25 15:26:07 +10:00
xf86gtf.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Modes.c modes: Fix duplicate detection, and do it more consistently 2009-11-03 13:26:44 +10:00
xf86Modes.h modes: Fix duplicate detection, and do it more consistently 2009-11-03 13:26:44 +10:00
xf86RandR12.c Clean up RandR12 bits on screen close (bug 27114) 2010-09-04 11:43:20 +02:00
xf86RandR12.h Clean up RandR12 bits on screen close (bug 27114) 2010-09-04 11:43:20 +02:00
xf86Rename.h Allow drivers to set crtc transforms. 2008-11-24 13:24:40 -08:00
xf86Rotate.c rotate: drop unwrapping inside block handler. 2009-10-02 13:27:56 +10:00