… | |
… | |
1773 | pix_colors = pix_colors_unfocused; |
1773 | pix_colors = pix_colors_unfocused; |
1774 | scr_recolour (); |
1774 | scr_recolour (); |
1775 | } |
1775 | } |
1776 | #endif |
1776 | #endif |
1777 | } |
1777 | } |
|
|
1778 | } |
|
|
1779 | |
|
|
1780 | void |
|
|
1781 | rxvt_term::update_fade_color (unsigned int idx) |
|
|
1782 | { |
|
|
1783 | #if OFF_FOCUS_FADING |
|
|
1784 | if (rs[Rs_fade]) |
|
|
1785 | { |
|
|
1786 | rgba c; |
|
|
1787 | pix_colors [Color_fade].get (c); |
|
|
1788 | pix_colors_focused [idx].fade (this, atoi (rs[Rs_fade]), pix_colors_unfocused [idx], c); |
|
|
1789 | } |
|
|
1790 | #endif |
1778 | } |
1791 | } |
1779 | |
1792 | |
1780 | #if TRANSPARENT |
1793 | #if TRANSPARENT |
1781 | void |
1794 | void |
1782 | rxvt_term::rootwin_cb (XEvent &ev) |
1795 | rxvt_term::rootwin_cb (XEvent &ev) |
… | |
… | |
3756 | int saveop = op; |
3769 | int saveop = op; |
3757 | |
3770 | |
3758 | dLocal (Display *, dpy); |
3771 | dLocal (Display *, dpy); |
3759 | |
3772 | |
3760 | assert (str != NULL); |
3773 | assert (str != NULL); |
|
|
3774 | |
|
|
3775 | if (HOOK_INVOKE ((this, HOOK_OSC_SEQ, DT_INT, op, DT_STR, str, DT_END))) |
|
|
3776 | return; |
|
|
3777 | |
3761 | switch (op) |
3778 | switch (op) |
3762 | { |
3779 | { |
3763 | case XTerm_name: |
3780 | case XTerm_name: |
3764 | set_title (str); |
3781 | set_title (str); |
3765 | /* FALLTHROUGH */ |
3782 | /* FALLTHROUGH */ |
… | |
… | |
3982 | break; |
3999 | break; |
3983 | #endif |
4000 | #endif |
3984 | |
4001 | |
3985 | #if ENABLE_PERL |
4002 | #if ENABLE_PERL |
3986 | case URxvt_perl: |
4003 | case URxvt_perl: |
3987 | if (HOOK_INVOKE ((this, HOOK_OSC_SEQ, DT_STR, str, DT_END))) |
4004 | if (HOOK_INVOKE ((this, HOOK_OSC_SEQ_PERL, DT_STR, str, DT_END))) |
3988 | ; // no responses yet |
4005 | ; // no responses yet |
3989 | break; |
4006 | break; |
3990 | #endif |
4007 | #endif |
3991 | } |
4008 | } |
3992 | } |
4009 | } |