… | |
… | |
967 | } |
967 | } |
968 | |
968 | |
969 | bool |
969 | bool |
970 | rxvt_font_x11::has_char (unicode_t unicode, const rxvt_fontprop *prop, bool &careful) const |
970 | rxvt_font_x11::has_char (unicode_t unicode, const rxvt_fontprop *prop, bool &careful) const |
971 | { |
971 | { |
|
|
972 | careful = false; |
|
|
973 | |
972 | uint32_t ch = FROM_UNICODE (cs, unicode); |
974 | uint32_t ch = FROM_UNICODE (cs, unicode); |
973 | |
975 | |
974 | if (ch == NOCHAR) |
976 | if (ch == NOCHAR) |
975 | return false; |
977 | return false; |
976 | |
978 | |
… | |
… | |
1412 | && (bg == Color_transparent || bg == Color_bg |
1414 | && (bg == Color_transparent || bg == Color_bg |
1413 | || (bg >= 0 && !term->pix_colors[bg].is_opaque () && ((dst = XftDrawPicture (d2)))))) |
1415 | || (bg >= 0 && !term->pix_colors[bg].is_opaque () && ((dst = XftDrawPicture (d2)))))) |
1414 | { |
1416 | { |
1415 | int src_x = x, src_y = y; |
1417 | int src_x = x, src_y = y; |
1416 | |
1418 | |
1417 | if (term->bg_flags & rxvt_term::isTransparent) |
1419 | if (term->bg_flags & rxvt_term::BG_IS_TRANSPARENT) |
1418 | { |
1420 | { |
1419 | src_x += term->window_vt_x; |
1421 | src_x += term->window_vt_x; |
1420 | src_y += term->window_vt_y; |
1422 | src_y += term->window_vt_y; |
1421 | } |
1423 | } |
1422 | |
1424 | |