… | |
… | |
1703 | rxvt_term::focus_in () |
1703 | rxvt_term::focus_in () |
1704 | { |
1704 | { |
1705 | if (!focus) |
1705 | if (!focus) |
1706 | { |
1706 | { |
1707 | focus = 1; |
1707 | focus = 1; |
|
|
1708 | want_refresh = 1; |
1708 | |
1709 | |
1709 | HOOK_INVOKE ((this, HOOK_FOCUS_OUT, DT_END)); |
1710 | HOOK_INVOKE ((this, HOOK_FOCUS_OUT, DT_END)); |
1710 | |
1711 | |
1711 | #if USE_XIM |
1712 | #if USE_XIM |
1712 | if (Input_Context != NULL) |
1713 | if (Input_Context != NULL) |
… | |
… | |
1721 | #endif |
1722 | #endif |
1722 | #if OFF_FOCUS_FADING |
1723 | #if OFF_FOCUS_FADING |
1723 | if (rs[Rs_fade]) |
1724 | if (rs[Rs_fade]) |
1724 | { |
1725 | { |
1725 | pix_colors = pix_colors_focused; |
1726 | pix_colors = pix_colors_focused; |
1726 | want_refresh = 1; |
|
|
1727 | scr_recolour (); |
1727 | scr_recolour (); |
1728 | } |
1728 | } |
1729 | #endif |
1729 | #endif |
1730 | } |
1730 | } |
1731 | } |
1731 | } |
… | |
… | |
1734 | rxvt_term::focus_out () |
1734 | rxvt_term::focus_out () |
1735 | { |
1735 | { |
1736 | if (focus) |
1736 | if (focus) |
1737 | { |
1737 | { |
1738 | focus = 0; |
1738 | focus = 0; |
|
|
1739 | want_refresh = 1; |
1739 | |
1740 | |
1740 | HOOK_INVOKE ((this, HOOK_FOCUS_OUT, DT_END)); |
1741 | HOOK_INVOKE ((this, HOOK_FOCUS_OUT, DT_END)); |
1741 | |
1742 | |
1742 | #if ENABLE_FRILLS || ISO_14755 |
1743 | #if ENABLE_FRILLS || ISO_14755 |
1743 | if (iso14755buf) |
1744 | if (iso14755buf) |
… | |
… | |
1759 | #endif |
1760 | #endif |
1760 | #if OFF_FOCUS_FADING |
1761 | #if OFF_FOCUS_FADING |
1761 | if (rs[Rs_fade]) |
1762 | if (rs[Rs_fade]) |
1762 | { |
1763 | { |
1763 | pix_colors = pix_colors_unfocused; |
1764 | pix_colors = pix_colors_unfocused; |
1764 | want_refresh = 1; |
|
|
1765 | scr_recolour (); |
1765 | scr_recolour (); |
1766 | } |
1766 | } |
1767 | #endif |
1767 | #endif |
1768 | } |
1768 | } |
1769 | } |
1769 | } |
… | |
… | |
2462 | 0L, 1L, False, XA_PIXMAP, &atype, &aformat, |
2462 | 0L, 1L, False, XA_PIXMAP, &atype, &aformat, |
2463 | &nitems, &bytes_after, &prop) == Success); |
2463 | &nitems, &bytes_after, &prop) == Success); |
2464 | |
2464 | |
2465 | if (!i || prop == NULL |
2465 | if (!i || prop == NULL |
2466 | #if TINTING |
2466 | #if TINTING |
2467 | || !rs[Rs_color + Color_tint] |
2467 | || !ISSET_PIXCOLOR (Color_tint) |
2468 | #endif |
2468 | #endif |
2469 | ) |
2469 | ) |
2470 | have_pixmap = 0; |
2470 | have_pixmap = 0; |
2471 | else |
2471 | else |
2472 | { |
2472 | { |
… | |
… | |
3853 | break; |
3853 | break; |
3854 | #endif |
3854 | #endif |
3855 | #if TRANSPARENT && TINTING |
3855 | #if TRANSPARENT && TINTING |
3856 | case URxvt_Color_tint: |
3856 | case URxvt_Color_tint: |
3857 | process_color_seq (op, Color_tint, str, resp); |
3857 | process_color_seq (op, Color_tint, str, resp); |
|
|
3858 | |
3858 | check_our_parents (); |
3859 | check_our_parents (); |
|
|
3860 | |
3859 | if (am_transparent) |
3861 | if (am_transparent) |
3860 | want_full_refresh = want_refresh = 1; |
3862 | want_full_refresh = want_refresh = 1; |
|
|
3863 | |
3861 | break; |
3864 | break; |
3862 | #endif |
3865 | #endif |
3863 | |
3866 | |
3864 | case Rxvt_Pixmap: |
3867 | case Rxvt_Pixmap: |
3865 | { |
3868 | { |