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

Comparing rxvt-unicode/src/rxvttoolkit.h (file contents):
Revision 1.42 by root, Wed Jan 23 05:59:30 2008 UTC vs.
Revision 1.44 by root, Sat Jan 26 10:15:20 2008 UTC

218 218
219struct rxvt_display : refcounted 219struct rxvt_display : refcounted
220{ 220{
221 event_vec<xevent_watcher> xw; 221 event_vec<xevent_watcher> xw;
222 222
223 ev::prepare flush_ev; void flush_cb (ev::prepare &w, int revents); 223 ev::idle flush_ev; void flush_cb (ev::idle &w, int revents);
224 ev::io x_ev ; void x_cb (ev::io &w, int revents); 224 ev::io x_ev ; void x_cb (ev::io &w, int revents);
225 225
226#ifdef USE_XIM 226#ifdef USE_XIM
227 refcache<rxvt_xim> xims; 227 refcache<rxvt_xim> xims;
228 vector<im_watcher *> imw; 228 vector<im_watcher *> imw;
332 bool operator != (const rxvt_color &b) const { return Pixel (*this) != Pixel (b); } 332 bool operator != (const rxvt_color &b) const { return Pixel (*this) != Pixel (b); }
333 333
334 bool is_opaque () const 334 bool is_opaque () const
335 { 335 {
336#if XFT 336#if XFT
337 //TODO: only supports 24 bit truecolour 337 return c.color.alpha == rgba::MAX_CC;
338 return c.color.alpha < 0xff00;
339#else 338#else
340 return 1; 339 return 1;
341#endif 340#endif
342 } 341 }
343 342

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines