For rotation, randr needs to swap the screen's physical dimensions to avoid
changing the dpi.
Created attachment 611 [details] [review]
Patch to set screen physical size
This patch stores the screen's original physical size in the randr screen
private, uses that to set the physical size in the modes reported by xrandr,
and then uses those sizes (appropriately rotated) to set the new size on randr
Fri Aug 13 19:53:10 2004 Soeren Sandmann <firstname.lastname@example.org>
(MGAStormSync): Fix for lockups on some versions of Matrox
Mystique. #687, Patch from Mike Harris.
(xf86RandRSetMode): Call xf86EnableDisableFBAccess though the
function pointer instead of directly. #1041, Patch from Aaron Plattner.
* programs/Xserver/hw/xfree86/common/xf86RandR.c: Swap the
phsyical size of the screen when rotiation. #1050, Patch from