Poll X events in GetInputState same way as in GetQueueStatus

Dmitry Timoshkov dmitry at baikal.ru
Fri May 9 08:04:12 CDT 2003


Hello,

Changelog:
    Poll X events in GetInputState same way as in GetQueueStatus.

--- cvs/hq/wine/windows/queue.c	Fri Jan 17 19:52:25 2003
+++ wine/windows/queue.c	Fri May  9 21:39:49 2003
@@ -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;






More information about the wine-patches mailing list