xserver-multidpi/hw/xfree86/modes
Jamey Sharp e7fae9ecc4 Move each screen's root-window pointer into ScreenRec.
Many references to the WindowTable array already had the corresponding
screen pointer handy, which meant they usually looked like
"WindowTable[pScreen->myNum]". Adding a field to ScreenRec instead of
keeping this information in a parallel array simplifies those
expressions, and eliminates a MAXSCREENS-sized array.

Since dix uses this data, a screen private entry isn't appropriate.

xf86-video-dummy currently uses WindowTable, so it needs to be updated
to reflect this change.

Signed-off-by: Jamey Sharp <jamey@minilop.net>
Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Tested-by: Tiago Vignatti <tiago.vignatti@nokia.com> (i686 GNU/Linux)
2010-06-03 14:03:23 -07:00
..
Makefile.am displayid: Implement mode decoding. 2009-07-17 14:48:55 -04:00
xf86Crtc.c xf86: allow for no outputs connected at startup operation. 2010-05-23 17:30:09 -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 Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +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 Move each screen's root-window pointer into ScreenRec. 2010-06-03 14:03:23 -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 Move each screen's root-window pointer into ScreenRec. 2010-06-03 14:03:23 -07:00