Check for pending X events before getting queue status.

This commit is contained in:
Duane Clark 2003-01-14 19:32:42 +00:00 committed by Alexandre Julliard
parent 04ee55e994
commit 36d84c04f7
1 changed files with 4 additions and 0 deletions

View File

@ -139,6 +139,10 @@ DWORD WINAPI GetQueueStatus( UINT flags )
{
DWORD ret = 0;
/* check for pending X events */
if (USER_Driver.pMsgWaitForMultipleObjectsEx)
USER_Driver.pMsgWaitForMultipleObjectsEx( 0, NULL, 0, 0, 0 );
SERVER_START_REQ( get_queue_status )
{
req->clear = 1;