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 events.
Fri Aug 13 19:53:10 2004 Soeren Sandmann <sandmann@redhat.com> * programs/Xserver/hw/xfree86/drivers/mga/mga_storm.c (MGAStormSync): Fix for lockups on some versions of Matrox Mystique. #687, Patch from Mike Harris. * programs/Xserver/hw/xfree86/common/xf86RandR.c (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 Aaron Plattner.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.