https://bugs.winehq.org/show_bug.cgi?id=56993
Bug ID: 56993 Summary: Can not change desktop window resolution (pixel size) Product: Wine Version: 9.13 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: win32u Assignee: wine-bugs@winehq.org Reporter: fanwj@mail.ustc.edu.cn Distribution: ---
desktop only can set to default resolution successful. for example, run wine explorer.exe /desktop=test,800x600
It set explorer.exe resolution incorrect.
I found that handler of message WM_DISPLAYCHANGE incorrectly. It use size by NtGetVirtualScreenRect instead of lparam(resolution size)