changeset 529:0160cdabaa51 Android_Skia

Add a known issue. It causes a segmentation fault to call XEventsQueued() after receiving first Expose event and before redrawing something to the window.
author Thinker K.F. Li <thinker@branda.to>
date Wed, 23 Dec 2009 10:41:19 +0800
parents d687d3395264
children cd41d9033567
files src/X_supp.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/X_supp.c	Wed Dec 23 10:33:51 2009 +0800
+++ b/src/X_supp.c	Wed Dec 23 10:41:19 2009 +0800
@@ -202,6 +202,10 @@
     int in_stroke;
     int r;
 
+    /* XXX: For some unknown reason, it causes a segmentation fault to
+     *      called XEventsQueued() after receiving first Expose event
+     *      and before redraw for the event.
+     */
     while(XEventsQueued(display, QueuedAfterReading) > 0) {
 	r = XNextEvent(display, &evt);
 	if(r == -1)