Poll X events in GetInputState the same way as in GetQueueStatus.

This commit is contained in:
Dmitry Timoshkov 2003-05-11 03:29:47 +00:00 committed by Alexandre Julliard
parent c6e988eaa0
commit 692c821609
1 changed files with 4 additions and 0 deletions

View File

@ -161,6 +161,10 @@ BOOL WINAPI GetInputState(void)
{ {
DWORD ret = 0; 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 ) SERVER_START_REQ( get_queue_status )
{ {
req->clear = 0; req->clear = 0;