From: root Date: Sat, 26 Jan 2008 10:15:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=7a2c91105cc295353c1a3605cdd1b6fcaec9dd6f;p=dana%2Furxvt.git *** empty log message *** --- 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