summaryrefslogtreecommitdiff
path: root/projects/openttd_vs100.vcxproj
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2017-03-13 20:21:40 +0000
committermichi_cc <michi_cc@openttd.org>2017-03-13 20:21:40 +0000
commitac735cfaaceae505a4dc766c2732d81b3fc83610 (patch)
tree1d8ed3d77f74b53db4f62ac755f1f10e77849fb6 /projects/openttd_vs100.vcxproj
parent11b9fbbe666e8e46a293b3536c5979445fe0dc89 (diff)
downloadopenttd-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')
-rw-r--r--projects/openttd_vs100.vcxproj12
1 files changed, 12 insertions, 0 deletions
diff --git a/projects/openttd_vs100.vcxproj b/projects/openttd_vs100.vcxproj
index 59e087ee7..a71f23536 100644
--- a/projects/openttd_vs100.vcxproj
+++ b/projects/openttd_vs100.vcxproj
@@ -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>
<ClCompile Include="..\src\airport.cpp" />