ChangeSet ID: 7029 CVSROOT: /opt/cvs-commit Module name: wine Changes by: julliard@wine.codeweavers.com 2003/01/14 13:32:42 Modified files: windows : queue.c Log message: Duane Clark Check for pending X events before getting queue status. Patch: http://cvs.winehq.com/patch.py?id=7029 Old revision New revision Changes Path 1.96 1.97 +4 -0 wine/windows/queue.c Index: wine/windows/queue.c diff -u -p wine/windows/queue.c:1.96 wine/windows/queue.c:1.97 --- wine/windows/queue.c:1.96 Thu Jul 29 19:11:53 2010 +++ wine/windows/queue.c Thu Jul 29 19:11:53 2010 @@ -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;