winex11: Process all types of messages while moving/resizing a window.

This commit is contained in:
Alexandre Julliard 2007-10-17 12:40:24 +02:00
parent 89b4872805
commit 7fa032d1a4

View file

@ -1353,7 +1353,7 @@ void X11DRV_SysCommandSizeMove( HWND hwnd, WPARAM wParam )
{
int dx = 0, dy = 0;
if (!GetMessageW( &msg, 0, WM_KEYFIRST, WM_MOUSELAST )) break;
if (!GetMessageW( &msg, 0, 0, 0 )) break;
if (CallMsgFilterW( &msg, MSGF_SIZE )) continue;
/* Exit on button-up, Return, or Esc */
@ -1362,7 +1362,11 @@ void X11DRV_SysCommandSizeMove( HWND hwnd, WPARAM wParam )
((msg.wParam == VK_RETURN) || (msg.wParam == VK_ESCAPE)))) break;
if ((msg.message != WM_KEYDOWN) && (msg.message != WM_MOUSEMOVE))
{
TranslateMessage( &msg );
DispatchMessageW( &msg );
continue; /* We are not interested in other messages */
}
pt = msg.pt;