ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/command.C
(Generate patch)

Comparing rxvt-unicode/src/command.C (file contents):
Revision 1.313 by root, Wed Jul 5 22:46:14 2006 UTC vs.
Revision 1.315 by root, Tue Aug 22 13:07:17 2006 UTC

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
1794void 1794void
1795rxvt_term::rootwin_cb (XEvent &ev) 1795rxvt_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
1819void 1825void
1820rxvt_term::button_press (XButtonEvent &ev) 1826rxvt_term::button_press (XButtonEvent &ev)
3668 seen_esc = true; 3674 seen_esc = true;
3669 continue; 3675 continue;
3670 } 3676 }
3671 else if (ch == C0_BEL || ch == CHAR_ST) 3677 else if (ch == C0_BEL || ch == CHAR_ST)
3672 break; 3678 break;
3679 else if (ch == C0_SYN)
3680 ch = cmd_get8 ();
3673 else if (ch < 0x20) 3681 else if (ch < 0x20)
3674 return NULL; /* other control character - exit */ 3682 return NULL; /* other control character - exit */
3675 3683
3676 seen_esc = false; 3684 seen_esc = false;
3677 3685
3678 if (n >= STRING_MAX - 1) 3686 if (n >= STRING_MAX - 1)
3679 // stop at some sane length 3687 // stop at some sane length
3680 return NULL; 3688 return NULL;
3681 3689
3682 if (ch == C0_SYN)
3683 string[n++] = cmd_get8 ();
3684 else
3685 string[n++] = ch; 3690 string[n++] = ch;
3686 } 3691 }
3687 3692
3688 string[n++] = '\0'; 3693 string[n++] = '\0';
3689 3694
3690 ends_how = (ch == 0x5c ? C0_ESC : ch); 3695 ends_how = (ch == 0x5c ? C0_ESC : ch);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines