diff options
author | michi_cc <michi_cc@openttd.org> | 2017-03-13 20:21:40 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2017-03-13 20:21:40 +0000 |
commit | ac735cfaaceae505a4dc766c2732d81b3fc83610 (patch) | |
tree | 1d8ed3d77f74b53db4f62ac755f1f10e77849fb6 /projects/openttd_vs100.vcxproj.in | |
parent | 11b9fbbe666e8e46a293b3536c5979445fe0dc89 (diff) | |
download | openttd-ac735cfaaceae505a4dc766c2732d81b3fc83610.tar.xz |
(svn r27790) -Fix [FS#6366]: [Win32] Mark OpenTTD as DPI-aware to avoid OS window scaling that breaks mouse input.
Diffstat (limited to 'projects/openttd_vs100.vcxproj.in')
-rw-r--r-- | projects/openttd_vs100.vcxproj.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/projects/openttd_vs100.vcxproj.in b/projects/openttd_vs100.vcxproj.in index c6b16455a..fd3072f07 100644 --- a/projects/openttd_vs100.vcxproj.in +++ b/projects/openttd_vs100.vcxproj.in @@ -145,6 +145,9 @@ <TargetMachine>MachineX86</TargetMachine> <EnableCOMDATFolding>true</EnableCOMDATFolding> </Link> + <Manifest> + <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> + </Manifest> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <Midl> @@ -188,6 +191,9 @@ </DataExecutionPrevention> <TargetMachine>MachineX86</TargetMachine> </Link> + <Manifest> + <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> + </Manifest> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <Midl> @@ -244,6 +250,9 @@ <TargetMachine>MachineX64</TargetMachine> <EnableCOMDATFolding>true</EnableCOMDATFolding> </Link> + <Manifest> + <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> + </Manifest> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <Midl> @@ -289,6 +298,9 @@ <StackCommitSize>1048576</StackCommitSize> <TargetMachine>MachineX64</TargetMachine> </Link> + <Manifest> + <EnableDpiAwareness>PerMonitorHighDPIAware</EnableDpiAwareness> + </Manifest> </ItemDefinitionGroup> <ItemGroup> !!FILES!! |