[PATCH 5/5] hh: Add system DPI awareness settings to the application manifest.

Zhiyi Zhang zzhang at codeweavers.com
Mon Sep 6 03:55:01 CDT 2021


Signed-off-by: Zhiyi Zhang <zzhang at codeweavers.com>
---
 programs/hh/hh.manifest | 9 +++++++++
 programs/hh/hh.rc       | 4 ++++
 2 files changed, 13 insertions(+)
 create mode 100644 programs/hh/hh.manifest

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
-- 
2.30.2



More information about the wine-devel mailing list