winex11.drv: WM_SYSCOMMAND/SC_CLOSE should be posted not sent
Alexandre Julliard
julliard at winehq.org
Thu Jul 26 06:26:04 CDT 2007
Dmitry Timoshkov <dmitry at 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.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list