From 5188c95098973752a8ba71f8f2629027f09f277c Mon Sep 17 00:00:00 2001 From: root Date: Sat, 26 Jan 2008 13:13:20 +0000 Subject: [PATCH] *** empty log message *** --- src/rxvttoolkit.C | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C index 7d03cd20..535d72b6 100644 --- a/src/rxvttoolkit.C +++ b/src/rxvttoolkit.C @@ -575,13 +575,9 @@ 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, EV_READ); + w.stop (); } -- 2.34.1