GetQueueStatus bug fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

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;

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux