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.89 by root, Wed Jan 23 09:23:39 2008 UTC vs.
Revision 1.100 by root, Sat Jan 26 13:31:13 2008 UTC

574 } 574 }
575} 575}
576 576
577void rxvt_display::flush_cb (ev::prepare &w, int revents) 577void rxvt_display::flush_cb (ev::prepare &w, int revents)
578{ 578{
579 while (XEventsQueued (dpy, QueuedAfterFlush))
580 x_cb (x_ev, EV_READ);
581
579 w.stop (); 582 w.stop ();
580 XFlush (dpy);
581} 583}
582 584
583void rxvt_display::reg (xevent_watcher *w) 585void rxvt_display::reg (xevent_watcher *w)
584{ 586{
585 if (!w->active) 587 if (!w->active)
673} 675}
674 676
675bool 677bool
676rxvt_color::alloc (rxvt_screen *screen, const rgba &color) 678rxvt_color::alloc (rxvt_screen *screen, const rgba &color)
677{ 679{
678 //TODO: only supports 24 bit truecolour 680 //TODO: only supports 24 bit
679 int alpha = color.a >= 0xff00 ? 0xffff : color.a; 681 int alpha = color.a >= 0xff00 ? 0xffff : color.a;
680 682
681#if XFT 683#if XFT
682 XRenderPictFormat *format; 684 XRenderPictFormat *format;
683 685

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines