repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: db5878510f7d2f53101ecde3bd4c19aa3b992ea7: path_to: revision_to:
commit db5878510f7d2f53101ecde3bd4c19aa3b992ea7 Author: Marc LehmannDate: Sat Jan 26 12:15:11 2008 +0000 *** empty log message *** diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C
--- a/src/rxvttoolkit.C
+++ b/src/rxvttoolkit.C
@@ -575,13 +575,11 @@ void rxvt_display::x_cb (ev::io &w, int revents)
void rxvt_display::flush_cb (ev::prepare &w, int revents)
{
- XFlush (dpy);
- if (XEventsQueued (dpy, QueuedAfterReading))
- x_cb(x_ev,0);//D
- XFlush (dpy);
- if (XEventsQueued (dpy, QueuedAfterReading))
- x_cb(x_ev,0);//D
- XFlush (dpy);
+ while (XEventsQueued (dpy, QueuedAfterFlush))
+ {
+ x_cb(x_ev,0);//D
+ }
+
w.stop ();
}
-----END OF PAGE-----