… | |
… | |
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 |
… | |
… | |
332 | bool operator != (const rxvt_color &b) const { return Pixel (*this) != Pixel (b); } |
333 | bool operator != (const rxvt_color &b) const { return Pixel (*this) != Pixel (b); } |
333 | |
334 | |
334 | bool is_opaque () const |
335 | bool is_opaque () const |
335 | { |
336 | { |
336 | #if XFT |
337 | #if XFT |
337 | //TODO: only supports 24 bit truecolour |
338 | return c.color.alpha == rgba::MAX_CC; |
338 | return c.color.alpha < 0xff00; |
|
|
339 | #else |
339 | #else |
340 | return 1; |
340 | return 1; |
341 | #endif |
341 | #endif |
342 | } |
342 | } |
343 | |
343 | |