… | |
… | |
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) |
… | |
… | |
3758 | dLocal (Display *, dpy); |
3771 | dLocal (Display *, dpy); |
3759 | |
3772 | |
3760 | assert (str != NULL); |
3773 | assert (str != NULL); |
3761 | |
3774 | |
3762 | if (HOOK_INVOKE ((this, HOOK_OSC_SEQ, DT_INT, op, DT_STR, str, DT_END))) |
3775 | if (HOOK_INVOKE ((this, HOOK_OSC_SEQ, DT_INT, op, DT_STR, str, DT_END))) |
3763 | ; // no responses yet |
3776 | return; |
3764 | |
3777 | |
3765 | switch (op) |
3778 | switch (op) |
3766 | { |
3779 | { |
3767 | case XTerm_name: |
3780 | case XTerm_name: |
3768 | set_title (str); |
3781 | set_title (str); |