fix(windows): ensure win7 compat, extra

This commit is contained in:
Marc Durdin 2020-12-19 07:49:05 +11:00
parent 9e06fc89a5
commit 2dd28f5cc3
2 changed files with 8 additions and 4 deletions

View file

@ -1071,9 +1071,7 @@ var
end
else if not GetWindowRect(hwndSysTray, r) then
r := TRect.Empty;
end
else
r := TRect.Empty;
end;
end;
// Align the menu according to the location of the taskbar

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity type="win32" name="keyman" version="$VersionWin" processorArchitecture="x86"/>
<description>Keyman Engine</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
@ -14,4 +14,10 @@
<assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" publicKeyToken="6595b64144ccf1df" language="*" processorArchitecture="*"/>
</dependentAssembly>
</dependency>
<!-- <asmv3:application>
<asmv3:windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application> -->
</assembly>