Commit 692c8216 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

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

parent c6e988ea
...@@ -161,6 +161,10 @@ BOOL WINAPI GetInputState(void) ...@@ -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;
......
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