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 ); screen_width = event->data.desktop.width; screen_height = event->data.desktop.height; init_monitors( screen_width, screen_height );
NtUserSetWindowPos( NtUserGetDesktopWindow(), 0, 0, 0, screen_width, screen_height,
If the resolution is changed by the host system instead of ChangeDisplaySettings() from Wine, I think the desktop window won't be resized anymore after this patch, right? Because you're not sending a WM_DISPLAYCHANGE in this case. Same for other platforms like x11 and Mac. And it was working before this patch.