From c02638fd68440513b6046315547c554a910bd7e2 Mon Sep 17 00:00:00 2001 From: Colin Harrison Date: Tue, 2 Feb 2010 16:08:45 +0000 Subject: [PATCH] Xming: Add a manifest file Use manifests to enable XP style controls (only effective for XP and later and when themes are enabled). The addition of manifests shouldn't cause compatibility problems with older Windows versions. Manifest must have execute permissions, otherwise attempts to execute XWin.exe in the same directory will fail... Signed-off-by: Jon TURNEY --- hw/xwin/XWin.exe.manifest | 16 ++++++++++++++++ hw/xwin/XWin.rc | 1 + 2 files changed, 17 insertions(+) create mode 100755 hw/xwin/XWin.exe.manifest diff --git a/hw/xwin/XWin.exe.manifest b/hw/xwin/XWin.exe.manifest new file mode 100755 index 000000000..221150d52 --- /dev/null +++ b/hw/xwin/XWin.exe.manifest @@ -0,0 +1,16 @@ + + + The XWin X Windows server for Cygwin. + + + + + + diff --git a/hw/xwin/XWin.rc b/hw/xwin/XWin.rc index df2664dca..a4125b8d0 100644 --- a/hw/xwin/XWin.rc +++ b/hw/xwin/XWin.rc @@ -106,3 +106,4 @@ END */ IDI_XWIN ICON "X.ico" +CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST "XWin.exe.manifest"