xserver-multidpi/hw/xfree86/common
Aaron Plattner 2e8daee053 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.
2008-07-01 09:08:22 -07:00
..
atKeynames.h Fix key repeats during VT switch. 2007-09-05 17:46:23 -07:00
compiler.h Check for __amd64__, not __x86_64__. 2008-06-24 14:37:06 -04:00
extramodes Remove some default modes that really shouldn't be in the default set. 2008-06-24 10:40:36 -04:00
fourcc.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Makefile.am Build: Ensure xf86DefModeSet.c ends in an empty line 2008-05-07 22:29:04 +03:00
modeline2c.awk Bug #14927: Fix the math for xf86NumDefaultModes. 2008-03-10 09:14:20 -04:00
scoasm.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
vesamodes Fix standard VESA modes. 2006-11-03 14:06:32 -08:00
xf86.h Make DRI2 a serverlayout/serverflags option. 2008-04-14 15:23:57 -04:00
xf86AutoConfig.c Check for __amd64__, not __x86_64__. 2008-06-24 14:37:06 -04:00
xf86Build.h.in Print the build time as well as the date if we can. 2007-06-04 02:03:44 -04:00
xf86Bus.c Add M32R architecture support (bug #10020) 2008-04-30 11:58:32 +03:00
xf86Bus.h Simplify system resource range setup. 2007-11-15 15:03:58 -05:00
xf86cmap.c devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
xf86cmap.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86Config.c Don't try to load DRI2 if built without it. 2008-07-01 12:01:56 -04:00
xf86Config.h First pass at improved video driver autoloading 2007-10-09 22:13:15 -04:00
xf86Configure.c Delete some dead code in X -configure. 2007-11-15 14:45:49 -05:00
xf86Cursor.c Remove all traces of #ifdef XINPUT and the matching bits from the configure.ac 2008-04-25 16:49:35 +09:30
xf86Date.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86Debug.c Delete some pre-dlloader debugging scaffolding. 2007-07-18 15:45:11 -04:00
xf86DGA.c DGA: pass nevents to UpdateDeviceState. #15936 2008-05-16 15:43:01 +09:30
xf86DoProbe.c Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework 2006-07-25 11:30:04 -07:00
xf86DPMS.c Don't log DPMS enabling as being from xorg.conf if it's not 2008-01-07 20:57:30 -05:00
xf86Events.c xfree86: kill INHERIT_LOCK_STATE macro. 2008-06-24 23:10:56 -03:00
xf86fbBus.c Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86fbman.c devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
xf86fbman.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86Globals.c No need for inputPending field in xf86Info. 2008-06-11 18:10:55 -03:00
xf86Helper.c If core motion history is required, scale back to screen coords and INT16. 2008-05-26 17:22:25 +09:30
xf86Init.c No need for inputPending field in xf86Info. 2008-06-11 18:10:55 -03:00
xf86InPriv.h Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug 2006-07-21 19:05:41 -04:00
xf86isaBus.c Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86MiscExt.c Remove all traces of #ifdef XINPUT and the matching bits from the configure.ac 2008-04-25 16:49:35 +09:30
xf86Mode.c Remove some #if 0 guarding code duplicated in xf86Modes.c 2008-02-29 16:01:14 -05:00
xf86Module.h Revert "XInput ABI is 2.1, not 3.1." 2008-06-30 15:42:33 -07:00
xf86noBus.c Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86Opt.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86Option.c XFree86: Fix memory leak in option parsing 2007-04-10 23:58:20 +03:00
xf86pciBus.c Clean some garbage caused when pciaccess was merged: 2008-02-25 17:07:07 -03:00
xf86pciBus.h Eliminate unused fields in pciAccRec. 2007-01-17 12:15:09 -08:00
xf86PciInfo.h No more "-scanpci" given that we already have it in libpciaccess. 2008-02-25 17:08:07 -03:00
xf86PM.c xace: restore the old SaveScreens function and introduce new API, since the 2007-11-19 16:59:34 -05:00
xf86Priv.h Merge branch 'master' into dcdc_rework 2008-04-07 07:56:41 +09:30
xf86Privstr.h No need for inputPending field in xf86Info. 2008-06-11 18:10:55 -03:00
xf86RandR.c Work around the DIX losing mmWidth/mmHeight for RandR 1.1 DDXen. 2008-07-01 09:08:22 -07:00
xf86Resources.h Remove the now-dead PciAvoid symbol. 2007-08-30 11:26:17 -07:00
xf86sbusBus.c Merge branch 'master' into XACE-SELINUX 2007-11-05 19:08:36 -05:00
xf86sbusBus.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86str.h Friends don't let friends call xf86AddModuleInfo. 2008-02-14 08:21:44 +11:00
xf86Version.h Death to RCS tags. 2007-06-29 14:06:52 -04:00
xf86Versions.c completely remove OS keyboard layer 2006-08-12 18:56:05 +03:00
xf86VidMode.c Correct a NULL pointer deference 2008-05-27 15:20:28 +09:30
xf86Xinput.c xfree86: fix up leftover allocation of xf86Events. 2008-06-25 09:59:46 +09:30
xf86Xinput.h If core motion history is required, scale back to screen coords and INT16. 2008-05-26 17:22:25 +09:30
xf86XKB.c Death to RCS tags. 2007-06-29 14:06:52 -04:00
xf86xv.c Merge branch 'master' into XACE-SELINUX 2007-11-05 19:08:36 -05:00
xf86xv.h Add per-drawable Xv colour key helper function. 2006-10-20 00:42:44 +03:00
xf86xvmc.c devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
xf86xvmc.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xf86xvpriv.h devPrivates rework: since API is already broken, switch everything 2007-08-28 09:28:25 -04:00
xisb.c Remove the remnants of OS/2 support. 2007-06-28 18:59:05 -04:00
xisb.h Death to RCS tags. 2007-06-29 14:06:52 -04:00
xorgHelper.c Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
xorgVersion.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00