diff options
author | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-03-23 04:45:37 -0500 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2011-11-02 13:56:22 +0000 |
commit | e2e6fab1efa6895256ac0ed4d5b054a88ad18077 (patch) | |
tree | 324382bb60dfc04d1797f19368cb33fe7b913cc1 /hw/xwin/XWin.exe.manifest | |
parent | 8329afa59dd5ea3adf7adebdb2111a9bccbb126b (diff) |
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>
Diffstat (limited to 'hw/xwin/XWin.exe.manifest')
-rwxr-xr-x | hw/xwin/XWin.exe.manifest | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/xwin/XWin.exe.manifest b/hw/xwin/XWin.exe.manifest index 221150d52..a0d4d7dae 100755 --- a/hw/xwin/XWin.exe.manifest +++ b/hw/xwin/XWin.exe.manifest @@ -13,4 +13,9 @@ /> </dependentAssembly> </dependency> + <asmv3:application xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> + <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> + <dpiAware>true</dpiAware> + </asmv3:windowsSettings> + </asmv3:application> </assembly> |