xserver-multidpi/hw/xfree86
Keith Packard ae2cbbff9f Use scrn->virtualX/virtualY in xf86CrtcFitsScreen. Fix bug 19017.
pScreen->width/height are not initialized when doing initial mode setting,
which makes this function incorrectly fail. Using scrn->virtualX should work
in all cases though.

Bug 19017 reports a crash in xf86CrtcSetModeTransform when doing a modeset
for output probing, long before the screen array is initialized; that was
caused by a work-around to set pScreen->width/height so that xf86CrtcFitsScreen
could find the right values.

Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit fde2f96103)
2008-12-15 11:47:57 -08:00
..
common xfree86: don't FatalError on "too many input devices". 2008-12-09 20:48:20 -08:00
ddc Add missing newline when printing edid info 2008-11-13 13:57:30 -05:00
dixmods DGA: Track client state even when using old style DGA. 2008-10-09 22:22:53 +02:00
doc If AEI is on, disable 'vmmouse' in addition to 'kbd' and 'mouse'. 2008-12-09 20:40:14 -08:00
dri Notify DRI when crtc regions change 2008-11-24 13:24:35 -08:00
dri2 Drop unused DRI2 vblank infrastructure. 2008-12-01 21:37:01 -05:00
dummylib Warning fix 2008-11-25 15:05:19 -05:00
exa More man page updates for 1.6 release for Xorg, xorg.conf & exa man pages. 2008-12-02 23:37:36 -08:00
fbdevhw fbdevhw: Remove pixclock check. 2008-09-04 13:08:06 +02:00
i2c Dead code removal 2008-07-17 21:37:50 +03:00
int10 Warning fix 2008-11-25 15:05:19 -05:00
loader Merge commit 'origin/master' 2008-11-25 22:19:08 -08:00
modes Use scrn->virtualX/virtualY in xf86CrtcFitsScreen. Fix bug 19017. 2008-12-15 11:47:57 -08:00
os-support When disabling SIGIO tracking, use SIG_IGN instead of SIG_DFL. 2008-12-15 11:47:12 -08:00
parser Remove some null statements. 2008-11-08 12:21:20 -05:00
ramdac Nuke unused variables 2008-10-26 11:44:10 +01:00
shadowfb Prepare for array-index based devPrivates. 2008-08-28 18:05:40 -04:00
utils Remove xorgcfg 2008-07-24 03:01:45 +03:00
vbe Warning fix. 2008-11-25 15:05:18 -05:00
vgahw XFree86: Remove usage of alloca 2007-11-05 14:34:42 +00:00
x86emu x86emu: fix sparse warnings 2008-10-26 13:17:31 +01:00
xaa Remove unused XAAAvailableOptions 2008-11-25 15:05:18 -05:00
xf8_16bpp Remove smashing of CFLAGS from server build. 2006-09-18 12:11:18 -07:00
Makefile.am re-enable DRI2 2008-10-15 12:00:16 +01:00
Options Initial revision 2003-11-14 16:48:57 +00:00
xorgconf.cpp Remove all traces of external RGB database (and Speedo) 2007-11-05 16:28:35 +00:00