ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvttoolkit.C
(Generate patch)

Comparing rxvt-unicode/src/rxvttoolkit.C (file contents):
Revision 1.96 by root, Sat Jan 26 12:12:38 2008 UTC vs.
Revision 1.97 by root, Sat Jan 26 12:15:11 2008 UTC

573 } 573 }
574} 574}
575 575
576void rxvt_display::flush_cb (ev::prepare &w, int revents) 576void rxvt_display::flush_cb (ev::prepare &w, int revents)
577{ 577{
578 XFlush (dpy);
579 if (XEventsQueued (dpy, QueuedAfterReading)) 578 while (XEventsQueued (dpy, QueuedAfterFlush))
579 {
580 x_cb(x_ev,0);//D 580 x_cb(x_ev,0);//D
581 XFlush (dpy); 581 }
582 if (XEventsQueued (dpy, QueuedAfterReading)) 582
583 x_cb(x_ev,0);//D
584 XFlush (dpy);
585 w.stop (); 583 w.stop ();
586} 584}
587 585
588void rxvt_display::reg (xevent_watcher *w) 586void rxvt_display::reg (xevent_watcher *w)
589{ 587{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines