[xserver-commit] xserver/dix dispatch.c,3.32,3.33

Keith Packard xserver-commit@pdx.freedesktop.org
Thu, 15 Jan 2004 00:56:20 -0800


Committed by: keithp

Update of /cvs/xserver/xserver/dix
In directory pdx:/tmp/cvs-serv7718/dix

Modified Files:
	dispatch.c 
Log Message:
2004-01-15  Keith Packard  <keithp@keithp.com>
	* dix/dispatch.c: (Dispatch):
	FlushIfCriticalOutputPending in dispatch loop to flush out
	damage events quickly.


Index: dispatch.c
===================================================================
RCS file: /cvs/xserver/xserver/dix/dispatch.c,v
retrieving revision 3.32
retrieving revision 3.33
diff -u -d -r3.32 -r3.33
--- dispatch.c	2 Nov 2003 19:56:10 -0000	3.32
+++ dispatch.c	15 Jan 2004 08:56:18 -0000	3.33
@@ -463,6 +463,9 @@
 					  client->errorValue, result);
 		    break;
 	        }
+#ifdef DAMAGEEXT
+		FlushIfCriticalOutputPending ();
+#endif
 	    }
 	    FlushAllOutput();
 #ifdef SMART_SCHEDULE