From 692c8216090087cd0a96b0ab75399b162e7fe87a Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Sun, 11 May 2003 03:29:47 +0000 Subject: [PATCH] Poll X events in GetInputState the same way as in GetQueueStatus. --- windows/queue.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/windows/queue.c b/windows/queue.c index bbc0fa1c785..1bc4e8180f6 100644 --- a/windows/queue.c +++ b/windows/queue.c @@ -161,6 +161,10 @@ BOOL WINAPI GetInputState(void) { 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 = 0; -- 2.11.4.GIT