Commit 36d84c04 authored by Duane Clark's avatar Duane Clark Committed by Alexandre Julliard

Check for pending X events before getting queue status.

parent 04ee55e9
......@@ -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;
......
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