mirror of
https://github.com/reactos/wine.git
synced 2025-02-21 05:11:57 +00:00
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…
x
Reference in New Issue
Block a user