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.331 by root, Mon Jun 18 13:38:12 2007 UTC vs.
Revision 1.332 by root, Tue Jun 26 00:40:18 2007 UTC

1035void 1035void
1036rxvt_term::flush () 1036rxvt_term::flush ()
1037{ 1037{
1038 flush_ev.stop (); 1038 flush_ev.stop ();
1039 1039
1040#ifdef TRANSPARENT 1040#ifdef ENABLE_TRANSPARENCY
1041 if (want_full_refresh) 1041 if (want_full_refresh)
1042 { 1042 {
1043 want_full_refresh = 0; 1043 want_full_refresh = 0;
1044 scr_clear (); 1044 scr_clear ();
1045 scr_touch (false); 1045 scr_touch (false);
1499#endif 1499#endif
1500 } 1500 }
1501 1501
1502 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END)); 1502 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END));
1503 1503
1504#ifdef TRANSPARENT 1504#ifdef ENABLE_TRANSPARENCY
1505 if (option (Opt_transparent)) 1505 if (option (Opt_transparent))
1506 check_our_parents (); 1506 check_our_parents ();
1507#endif 1507#endif
1508 } 1508 }
1509 break; 1509 break;
1543 text_blink_ev.stop (); 1543 text_blink_ev.stop ();
1544#endif 1544#endif
1545 HOOK_INVOKE ((this, HOOK_UNMAP_NOTIFY, DT_XEVENT, &ev, DT_END)); 1545 HOOK_INVOKE ((this, HOOK_UNMAP_NOTIFY, DT_XEVENT, &ev, DT_END));
1546 break; 1546 break;
1547 1547
1548#ifdef TRANSPARENT 1548#ifdef ENABLE_TRANSPARENCY
1549 case ReparentNotify: 1549 case ReparentNotify:
1550 rootwin_cb (ev); 1550 rootwin_cb (ev);
1551 break; 1551 break;
1552#endif /* TRANSPARENT */ 1552#endif /* ENABLE_TRANSPARENCY */
1553 1553
1554 case GraphicsExpose: 1554 case GraphicsExpose:
1555 case Expose: 1555 case Expose:
1556 if (ev.xany.window == vt) 1556 if (ev.xany.window == vt)
1557 { 1557 {
1581 { 1581 {
1582 scrollBar.setIdle (); 1582 scrollBar.setIdle ();
1583 scrollbar_show (0); 1583 scrollbar_show (0);
1584 } 1584 }
1585 1585
1586#ifdef TRANSPARENT 1586#ifdef ENABLE_TRANSPARENCY
1587 if (am_transparent && ev.xany.window == parent[0]) 1587 if (am_transparent && ev.xany.window == parent[0])
1588 XClearWindow (dpy, ev.xany.window); 1588 XClearWindow (dpy, ev.xany.window);
1589#endif 1589#endif
1590 } 1590 }
1591 break; 1591 break;
1820 pix_colors_focused [idx].fade (this, atoi (rs[Rs_fade]), pix_colors_unfocused [idx], c); 1820 pix_colors_focused [idx].fade (this, atoi (rs[Rs_fade]), pix_colors_unfocused [idx], c);
1821 } 1821 }
1822#endif 1822#endif
1823} 1823}
1824 1824
1825#if TRANSPARENT || ENABLE_PERL 1825#if ENABLE_TRANSPARENCY || ENABLE_PERL
1826void 1826void
1827rxvt_term::rootwin_cb (XEvent &ev) 1827rxvt_term::rootwin_cb (XEvent &ev)
1828{ 1828{
1829 make_current (); 1829 make_current ();
1830 1830
1831 if (SHOULD_INVOKE (HOOK_ROOT_EVENT) 1831 if (SHOULD_INVOKE (HOOK_ROOT_EVENT)
1832 && HOOK_INVOKE ((this, HOOK_ROOT_EVENT, DT_XEVENT, &ev, DT_END))) 1832 && HOOK_INVOKE ((this, HOOK_ROOT_EVENT, DT_XEVENT, &ev, DT_END)))
1833 return; 1833 return;
1834 1834
1835# if TRANSPARENT 1835# if ENABLE_TRANSPARENCY
1836 switch (ev.type) 1836 switch (ev.type)
1837 { 1837 {
1838 case PropertyNotify: 1838 case PropertyNotify:
1839 /* 1839 /*
1840 * if user used some Esetroot compatible prog to set the root bg, 1840 * if user used some Esetroot compatible prog to set the root bg,
3435 break; 3435 break;
3436 case URxvt_Color_IT: 3436 case URxvt_Color_IT:
3437 process_color_seq (op, Color_IT, str, resp); 3437 process_color_seq (op, Color_IT, str, resp);
3438 break; 3438 break;
3439#endif 3439#endif
3440#if TRANSPARENT && TINTING 3440#if ENABLE_TRANSPARENCY && TINTING
3441 case URxvt_Color_tint: 3441 case URxvt_Color_tint:
3442 process_color_seq (op, Color_tint, str, resp); 3442 process_color_seq (op, Color_tint, str, resp);
3443 3443
3444 check_our_parents (); 3444 check_our_parents ();
3445 3445
3475#ifdef XPM_BACKGROUND 3475#ifdef XPM_BACKGROUND
3476 resize_pixmap (); 3476 resize_pixmap ();
3477 scr_touch (true); 3477 scr_touch (true);
3478#endif 3478#endif
3479 } 3479 }
3480#if TRANSPARENT && defined(HAVE_AFTERIMAGE) 3480#if ENABLE_TRANSPARENCY && defined(HAVE_AFTERIMAGE)
3481 if (option (Opt_transparent)) 3481 if (option (Opt_transparent))
3482 check_our_parents (); 3482 check_our_parents ();
3483#endif 3483#endif
3484 } 3484 }
3485 break; 3485 break;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines