Bug 12932 - make xrandr use DEFAULT_DPI instead of 96
Summary: make xrandr use DEFAULT_DPI instead of 96
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other All
: medium minor
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Keywords: janitor
Depends on:
Reported: 2007-10-25 10:52 UTC by Tormod Volden
Modified: 2007-11-18 08:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

use DEFAULT_DPI instead of 96 (541 bytes, patch)
2007-10-25 10:53 UTC, Tormod Volden
no flags Details | Splinter Review

Description Tormod Volden 2007-10-25 10:52:41 UTC
hw/xfree86/modes/xf86RandR12.c hardcodes a default dpi to 96, instead of using the DEFAULT_DPI macro defined in xf86Priv.h.
Comment 1 Tormod Volden 2007-10-25 10:53:18 UTC
Created attachment 12192 [details] [review]
use DEFAULT_DPI instead of 96
Comment 2 Tormod Volden 2007-10-25 12:08:05 UTC
xf86DefaultMode() in hw/xfree86/modes/xf86Crtc.c also uses 96 dpi.
Comment 3 Adam Jackson 2007-11-18 08:57:28 UTC
Applied to master (in both places), thanks!

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.