From 7a2c91105cc295353c1a3605cdd1b6fcaec9dd6f Mon Sep 17 00:00:00 2001 From: root Date: Sat, 26 Jan 2008 10:15:20 +0000 Subject: [PATCH] *** empty log message *** --- src/rxvttoolkit.C | 4 +++- src/rxvttoolkit.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/rxvttoolkit.C b/src/rxvttoolkit.C index aeccc22c..a8c3e1bf 100644 --- a/src/rxvttoolkit.C +++ b/src/rxvttoolkit.C @@ -572,9 +572,11 @@ void rxvt_display::x_cb (ev::io &w, int revents) } } } + + XFlush (dpy); } -void rxvt_display::flush_cb (ev::prepare &w, int revents) +void rxvt_display::flush_cb (ev::idle &w, int revents) { w.stop (); XFlush (dpy); diff --git a/src/rxvttoolkit.h b/src/rxvttoolkit.h index d009a9db..8d750f4d 100644 --- a/src/rxvttoolkit.h +++ b/src/rxvttoolkit.h @@ -220,7 +220,7 @@ struct rxvt_display : refcounted { event_vec xw; - ev::prepare flush_ev; void flush_cb (ev::prepare &w, int revents); + ev::idle flush_ev; void flush_cb (ev::idle &w, int revents); ev::io x_ev ; void x_cb (ev::io &w, int revents); #ifdef USE_XIM -- 2.34.1