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.47 by root, Wed Nov 5 14:43:54 2008 UTC

59#if ENABLE_EWMH 59#if ENABLE_EWMH
60 XA_NET_WM_PID, 60 XA_NET_WM_PID,
61 XA_NET_WM_NAME, 61 XA_NET_WM_NAME,
62 XA_NET_WM_ICON_NAME, 62 XA_NET_WM_ICON_NAME,
63 XA_NET_WM_PING, 63 XA_NET_WM_PING,
64 XA_NET_WM_ICON,
64#endif 65#endif
65#if USE_XIM 66#if USE_XIM
66 XA_WM_LOCALE_NAME, 67 XA_WM_LOCALE_NAME,
67 XA_XIM_SERVERS, 68 XA_XIM_SERVERS,
68#endif 69#endif
267 void put_xim (rxvt_xim *xim); 268 void put_xim (rxvt_xim *xim);
268#endif 269#endif
269}; 270};
270 271
271#ifdef USE_XIM 272#ifdef USE_XIM
272struct im_watcher : rxvt_watcher, callback<void (void)> { 273struct im_watcher : rxvt_watcher, callback<void (void)>
274{
273 void start (rxvt_display *display) 275 void start (rxvt_display *display)
274 { 276 {
275 display->reg (this); 277 display->reg (this);
276 } 278 }
277 279
332 bool operator != (const rxvt_color &b) const { return Pixel (*this) != Pixel (b); } 334 bool operator != (const rxvt_color &b) const { return Pixel (*this) != Pixel (b); }
333 335
334 bool is_opaque () const 336 bool is_opaque () const
335 { 337 {
336#if XFT 338#if XFT
337 //TODO: only supports 24 bit truecolour 339 return c.color.alpha == rgba::MAX_CC;
338 return c.color.alpha < 0xff00;
339#else 340#else
340 return 1; 341 return 1;
341#endif 342#endif
342 } 343 }
343 344

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines