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.352 by ayin, Sun Sep 9 10:35:00 2007 UTC vs.
Revision 1.356 by root, Mon Sep 17 08:31:54 2007 UTC

1035void 1035void
1036rxvt_term::flush () 1036rxvt_term::flush ()
1037{ 1037{
1038 flush_ev.stop (); 1038 flush_ev.stop ();
1039 1039
1040#ifdef ENABLE_TRANSPARENCY
1041 if (want_full_refresh)
1042 {
1043 want_full_refresh = 0;
1044 scr_clear ();
1045 scr_touch (false);
1046 }
1047#endif
1048
1049 if (want_refresh) 1040 if (want_refresh)
1050 { 1041 {
1051 if (SHOULD_INVOKE (HOOK_LINE_UPDATE)) 1042 if (SHOULD_INVOKE (HOOK_LINE_UPDATE))
1052 { 1043 {
1053 int row = view_start; 1044 int row = view_start;
1490 seen_resize = 1; 1481 seen_resize = 1;
1491 resize_all_windows (ev.xconfigure.width, ev.xconfigure.height, 1); 1482 resize_all_windows (ev.xconfigure.width, ev.xconfigure.height, 1);
1492 } 1483 }
1493 else 1484 else
1494 { 1485 {
1495#ifdef ENABLE_TRANSPARENCY 1486#ifdef HAVE_BG_PIXMAP
1496 if (option (Opt_transparent)) 1487 if (bgPixmap.window_position_sensitive ())
1497 update_background (); 1488 update_background ();
1498#endif 1489#endif
1499 } 1490 }
1500 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END)); 1491 HOOK_INVOKE ((this, HOOK_CONFIGURE_NOTIFY, DT_XEVENT, &ev, DT_END));
1501 } 1492 }
1535#ifdef TEXT_BLINK 1526#ifdef TEXT_BLINK
1536 text_blink_ev.stop (); 1527 text_blink_ev.stop ();
1537#endif 1528#endif
1538 HOOK_INVOKE ((this, HOOK_UNMAP_NOTIFY, DT_XEVENT, &ev, DT_END)); 1529 HOOK_INVOKE ((this, HOOK_UNMAP_NOTIFY, DT_XEVENT, &ev, DT_END));
1539 break; 1530 break;
1540
1541#ifdef ENABLE_TRANSPARENCY
1542 case ReparentNotify:
1543 rootwin_cb (ev);
1544 break;
1545#endif /* ENABLE_TRANSPARENCY */
1546 1531
1547 case GraphicsExpose: 1532 case GraphicsExpose:
1548 case Expose: 1533 case Expose:
1549 if (ev.xany.window == vt) 1534 if (ev.xany.window == vt)
1550 { 1535 {
1744 } 1729 }
1745#endif 1730#endif
1746#if ENABLE_FRILLS 1731#if ENABLE_FRILLS
1747 if (option (Opt_urgentOnBell)) 1732 if (option (Opt_urgentOnBell))
1748 { 1733 {
1749 XWMHints *h;
1750
1751 h = XGetWMHints(dpy, parent[0]); 1734 if (XWMHints *h = XGetWMHints(dpy, parent[0]))
1752 if (h != NULL)
1753 { 1735 {
1754 h->flags &= ~XUrgencyHint; 1736 h->flags &= ~XUrgencyHint;
1755 XSetWMHints(dpy, parent[0], h); 1737 XSetWMHints (dpy, parent[0], h);
1756 } 1738 }
1757 } 1739 }
1758#endif 1740#endif
1759 } 1741 }
1760} 1742}
3436 } 3418 }
3437 3419
3438 break; 3420 break;
3439#endif 3421#endif
3440 3422
3441#if XPM_BACKGROUND 3423#if BG_IMAGE_FROM_FILE
3442 case Rxvt_Pixmap: 3424 case Rxvt_Pixmap:
3443 if (!strcmp (str, "?")) 3425 if (!strcmp (str, "?"))
3444 { 3426 {
3445 char str[256]; 3427 char str[256];
3446 3428
4009 3991
4010 if (v_buflen == 0) 3992 if (v_buflen == 0)
4011 { 3993 {
4012 free (v_buffer); 3994 free (v_buffer);
4013 v_buffer = 0; 3995 v_buffer = 0;
4014 v_buflen = 0;
4015 3996
4016 pty_ev.set (EVENT_READ); 3997 pty_ev.set (EVENT_READ);
4017 return; 3998 return;
4018 } 3999 }
4019 4000

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines