… | |
… | |
1788 | pix_colors_focused [idx].fade (this, atoi (rs[Rs_fade]), pix_colors_unfocused [idx], c); |
1788 | pix_colors_focused [idx].fade (this, atoi (rs[Rs_fade]), pix_colors_unfocused [idx], c); |
1789 | } |
1789 | } |
1790 | #endif |
1790 | #endif |
1791 | } |
1791 | } |
1792 | |
1792 | |
1793 | #if TRANSPARENT |
1793 | #if TRANSPARENT || ENABLE_PERL |
1794 | void |
1794 | void |
1795 | rxvt_term::rootwin_cb (XEvent &ev) |
1795 | rxvt_term::rootwin_cb (XEvent &ev) |
1796 | { |
1796 | { |
1797 | make_current (); |
1797 | make_current (); |
1798 | |
1798 | |
|
|
1799 | if (SHOULD_INVOKE (HOOK_ROOT_EVENT) |
|
|
1800 | && HOOK_INVOKE ((this, HOOK_ROOT_EVENT, DT_XEVENT, &ev, DT_END))) |
|
|
1801 | return; |
|
|
1802 | |
|
|
1803 | # if TRANSPARENT |
1799 | switch (ev.type) |
1804 | switch (ev.type) |
1800 | { |
1805 | { |
1801 | case PropertyNotify: |
1806 | case PropertyNotify: |
1802 | /* |
1807 | /* |
1803 | * if user used some Esetroot compatible prog to set the root bg, |
1808 | * if user used some Esetroot compatible prog to set the root bg, |
… | |
… | |
1811 | case ReparentNotify: |
1816 | case ReparentNotify: |
1812 | if (OPTION (Opt_transparent) && check_our_parents () && am_transparent) |
1817 | if (OPTION (Opt_transparent) && check_our_parents () && am_transparent) |
1813 | want_refresh = want_full_refresh = 1; |
1818 | want_refresh = want_full_refresh = 1; |
1814 | break; |
1819 | break; |
1815 | } |
1820 | } |
|
|
1821 | # endif |
1816 | } |
1822 | } |
1817 | #endif |
1823 | #endif |
1818 | |
1824 | |
1819 | void |
1825 | void |
1820 | rxvt_term::button_press (XButtonEvent &ev) |
1826 | rxvt_term::button_press (XButtonEvent &ev) |