diff options
author | Colin Harrison <colin.harrison@virgin.net> | 2010-02-02 16:08:45 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2010-02-05 18:17:33 +0000 |
commit | c02638fd68440513b6046315547c554a910bd7e2 (patch) | |
tree | 4928c89c507e380f89e1c55af22e10694a321bed | |
parent | fd8a32baba77aba8d124658a19f4f6eda79e49c6 (diff) |
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 <jon.turney@dronecode.org.uk>
-rwxr-xr-x | hw/xwin/XWin.exe.manifest | 16 | ||||
-rw-r--r-- | hw/xwin/XWin.rc | 1 |
2 files changed, 17 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> + <description>The XWin X Windows server for Cygwin.</description> + <dependency> + <dependentAssembly> + <assemblyIdentity + type="win32" + name="Microsoft.Windows.Common-Controls" + version="6.0.0.0" + processorArchitecture="X86" + publicKeyToken="6595b64144ccf1df" + language="*" + /> + </dependentAssembly> + </dependency> +</assembly> 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" |