Mercurial > MadButterfly
comparison src/X_supp.c @ 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 | 49f8f57f184a |
comparison
equal
deleted
inserted
replaced
528:d687d3395264 | 529:0160cdabaa51 |
---|---|
200 | 200 |
201 unsigned int state, button; | 201 unsigned int state, button; |
202 int in_stroke; | 202 int in_stroke; |
203 int r; | 203 int r; |
204 | 204 |
205 /* XXX: For some unknown reason, it causes a segmentation fault to | |
206 * called XEventsQueued() after receiving first Expose event | |
207 * and before redraw for the event. | |
208 */ | |
205 while(XEventsQueued(display, QueuedAfterReading) > 0) { | 209 while(XEventsQueued(display, QueuedAfterReading) > 0) { |
206 r = XNextEvent(display, &evt); | 210 r = XNextEvent(display, &evt); |
207 if(r == -1) | 211 if(r == -1) |
208 break; | 212 break; |
209 | 213 |