http://bugs.winehq.org/show_bug.cgi?id=18753
--- Comment #7 from Rein Klazes wijn@online.nl 2009-06-03 01:30:04 --- (In reply to comment #6)
d69340cd6bb6e0385f9461efb72af360d1d94947 is first bad commit commit d69340cd6bb6e0385f9461efb72af360d1d94947 Author: Rein Klazes wijn@online.nl Date: Wed Feb 18 07:49:15 2009 +0100 user32: Do not handle WM_ENDSESSION in DefWindowProc() with test.
Which is itself fixing a regression, by reverting this patch:
2006-02-24 Francois Gouget fgouget@codeweavers.com
* dlls/user/defwnd.c: user32: Handle WM_ENDSESSION in DefWinProc(). DefWinProc() should call PostQuitMessage() on WM_ENDSESSION if the shutdown is proceeding.
The added test is there to show that this not the correct way to handle the WM_ENDSESSION message.
BTW, here the alt-f4 and pressing the cross both work with a rather long delay, about 20 seconds. Also with a fresh prefix.