xserver-multidpi/hw
Aaron Plattner 75b5e999f0 Work around the DIX losing mmWidth/mmHeight for RandR 1.1 DDXen.
RandR 1.1 has a physical size for each mode.  It used to be that the DIX would
remember these modes and pass them back up to the DDX when changing the screen
configuration.  The DDX uses RR_GET_MODE_MM to query the driver for the physical
dimensions of the screen, allowing it to preserve the DPI.

With RandR 1.2, the physical dimensions are stored as part of the output, rather
than per mode.  The DIX only uses the sizes passed in from the DDX to select the
mode pool for the "default" output, and forgets the physical sizes.  Then, when
reconfiguring the screen, it makes up a new RRScreenSizeRec using the dimensions
from the output, screwing up the DPI.

This change works around this problem by ignoring the DIX and querying the real
size from the driver.
(cherry picked from commit 2e8daee053)
2008-07-01 09:08:36 -07:00
..
dmx glx: fix forgotten swrast -> SWRast 2008-06-26 16:14:52 -04:00
kdrive kdrive: need not export symbols for glx anymore 2008-06-26 16:14:52 -04:00
vfb bug #10008: Make Xvfb.1 document the correct default depth 2008-03-01 18:45:46 -05:00
xfree86 Work around the DIX losing mmWidth/mmHeight for RandR 1.1 DDXen. 2008-07-01 09:08:36 -07:00
xgl Fix up paths for GL/glx -> glx renaming 2008-06-26 16:14:51 -04:00
xnest Use LD_EXPORT_SYMBOLS_FLAG when linking Xnest. 2008-06-26 16:14:51 -04:00
xprint Disable D-BUS from Xprint. 2008-06-09 13:57:03 -04:00
xquartz Fix up paths for GL/glx -> glx renaming 2008-06-26 16:14:51 -04:00
xwin Distcheck fixes. 2008-06-30 11:17:53 -04:00
Makefile.am Darwin: Use __APPLE__ instead of __DARWIN__ 2007-12-07 18:54:58 -08:00