Zhiyi Zhang : hh: Add system DPI awareness settings to the application manifest.

Alexandre Julliard julliard at winehq.org
Mon Sep 6 16:15:05 CDT 2021


Module: wine
Branch: master
Commit: 3f95a56e59117f73ad456ddd59d615aaa93dbee3
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3f95a56e59117f73ad456ddd59d615aaa93dbee3

Author: Zhiyi Zhang <zzhang at codeweavers.com>
Date:   Mon Sep  6 16:55:01 2021 +0800

hh: Add system DPI awareness settings to the application manifest.

Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/hh/hh.manifest | 9 +++++++++
 programs/hh/hh.rc       | 4 ++++
 2 files changed, 13 insertions(+)

diff --git a/programs/hh/hh.manifest b/programs/hh/hh.manifest
new file mode 100644
index 00000000000..be1e025a548
--- /dev/null
+++ b/programs/hh/hh.manifest
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+<assemblyIdentity type="win32" name="Wine.HelpViewer" version="0.0.0.0"/>
+<application xmlns="urn:schemas-microsoft-com:asm.v3">
+    <windowsSettings>
+        <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
+    </windowsSettings>
+</application>
+</assembly>
diff --git a/programs/hh/hh.rc b/programs/hh/hh.rc
index d397dc63ee4..36c142345b9 100644
--- a/programs/hh/hh.rc
+++ b/programs/hh/hh.rc
@@ -18,6 +18,10 @@
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
+#include <winuser.h>
 
 /* @makedep: winhelp.ico */
 101 ICON winhelp.ico
+
+/* @makedep: hh.manifest */
+1 RT_MANIFEST hh.manifest




More information about the wine-cvs mailing list