Zhiyi Zhang (@zhiyi) commented about dlls/wineandroid.drv/window.c:
{ case DESKTOP_CHANGED: TRACE( "DESKTOP_CHANGED %ux%u\n", event->data.desktop.width, event->data.desktop.height ); - context = NtUserSetThreadDpiAwarenessContext( NTUSER_DPI_PER_MONITOR_AWARE ); Changing the thread dpi awareness context before moving the desktop
window, like wineandroid was doing, shouldn't be necessary, assuming that the desktop window is always per-monitor aware. I don't think this is correct. The explorer exe has "<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>", which is system aware instead of per-monitor aware according to https://learn.microsoft.com/en-us/windows/win32/hidpi/setting-the-default-dp... -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5774#note_72180