GetQueueStatus bug fix
Duane Clark
dclark at akamail.com
Tue Jan 14 09:52:42 CST 2003
A fairly detailed description of this can be found at the bottom of bug 434.
http://bugs.winehq.com/show_bug.cgi?id=434
Changelog:
Check for pending X events before getting queue status.
-------------- next part --------------
Index: windows/queue.c
===================================================================
RCS file: /home/wine/wine/windows/queue.c,v
retrieving revision 1.96
diff -u -r1.96 queue.c
--- windows/queue.c 3 Dec 2002 23:34:52 -0000 1.96
+++ windows/queue.c 12 Jan 2003 22:56:29 -0000
@@ -139,6 +139,10 @@
{
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;
More information about the wine-patches
mailing list