Check for pending X events before getting queue status.
This commit is contained in:
parent
04ee55e994
commit
36d84c04f7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue