iexplore.exe doesn't have DPI awareness settings in its manifest. However, tests show that it has at least per-monitor DPI awareness on Win10.
Signed-off-by: Zhiyi Zhang zzhang@codeweavers.com --- programs/iexplore/main.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/programs/iexplore/main.c b/programs/iexplore/main.c index ade9f8c5226..adb6eff1101 100644 --- a/programs/iexplore/main.c +++ b/programs/iexplore/main.c @@ -68,6 +68,8 @@ static DWORD register_iexplore(BOOL doregister)
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE prev, WCHAR *cmdline, int show) { + SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_SYSTEM_AWARE); + if(*cmdline == '-' || *cmdline == '/') { if(!wcsicmp(cmdline+1, L"regserver")) return register_iexplore(TRUE);