Dmitry Timoshkov dmitry@codeweavers.com writes:
this patch fixes crash on exit reported in the bug #2918.
In DefWindowProc we already use PostMessage for WM_SYSCOMMAND/SC_CLOSE in response to Alt+F4.
Changelog: winex11.drv: WM_SYSCOMMAND/SC_CLOSE should be posted not sent.
This is what we used to do, but it was changed to a SendMessage in commit 43b5576998aea7accd9f4fb791043d89e9b83cad because some apps depend on that.