Commit fc183ba2 authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Set the queue mask only after flushing the window surfaces.

parent 06960ac2
......@@ -4093,6 +4093,8 @@ DWORD WINAPI MsgWaitForMultipleObjectsEx( DWORD count, const HANDLE *pHandles,
return WAIT_FAILED;
}
flush_window_surfaces( TRUE );
/* set the queue mask */
SERVER_START_REQ( set_queue_mask )
{
......@@ -4107,7 +4109,6 @@ DWORD WINAPI MsgWaitForMultipleObjectsEx( DWORD count, const HANDLE *pHandles,
for (i = 0; i < count; i++) handles[i] = pHandles[i];
handles[count] = get_server_queue_handle();
flush_window_surfaces( TRUE );
return wow_handlers.wait_message( count+1, handles, timeout, mask, flags );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment