Cygwin/X: Make default DPI match native DPI
authorJon TURNEY <jon.turney@dronecode.org.uk>
Tue, 23 Mar 2010 09:45:37 +0000 (04:45 -0500)
committerJon TURNEY <jon.turney@dronecode.org.uk>
Wed, 2 Nov 2011 13:56:22 +0000 (13:56 +0000)
commite2e6fab1efa6895256ac0ed4d5b054a88ad18077
tree324382bb60dfc04d1797f19368cb33fe7b913cc1
parent8329afa59dd5ea3adf7adebdb2111a9bccbb126b
Cygwin/X: Make default DPI match native DPI

Make the default DPI match the current Windows DPI setting. If that
setting can't be retrieved, change the fallback DPI value from 75 dpi
to 96 dpi.

Mark the application as dpiAware in the manifest, which prevents
dpi virtualization for high (>96) dpi values on Vista and later.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
hw/xwin/XWin.exe.manifest
hw/xwin/win.h
hw/xwin/winprocarg.c