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.353 by sasha, Wed Sep 12 19:51:41 2007 UTC vs.
Revision 1.356 by root, Mon Sep 17 08:31:54 2007 UTC

1729 } 1729 }
1730#endif 1730#endif
1731#if ENABLE_FRILLS 1731#if ENABLE_FRILLS
1732 if (option (Opt_urgentOnBell)) 1732 if (option (Opt_urgentOnBell))
1733 { 1733 {
1734 XWMHints *h;
1735
1736 h = XGetWMHints(dpy, parent[0]); 1734 if (XWMHints *h = XGetWMHints(dpy, parent[0]))
1737 if (h != NULL)
1738 { 1735 {
1739 h->flags &= ~XUrgencyHint; 1736 h->flags &= ~XUrgencyHint;
1740 XSetWMHints(dpy, parent[0], h); 1737 XSetWMHints (dpy, parent[0], h);
1741 } 1738 }
1742 } 1739 }
1743#endif 1740#endif
1744 } 1741 }
1745} 1742}
3421 } 3418 }
3422 3419
3423 break; 3420 break;
3424#endif 3421#endif
3425 3422
3426#if XPM_BACKGROUND 3423#if BG_IMAGE_FROM_FILE
3427 case Rxvt_Pixmap: 3424 case Rxvt_Pixmap:
3428 if (!strcmp (str, "?")) 3425 if (!strcmp (str, "?"))
3429 { 3426 {
3430 char str[256]; 3427 char str[256];
3431 3428
3994 3991
3995 if (v_buflen == 0) 3992 if (v_buflen == 0)
3996 { 3993 {
3997 free (v_buffer); 3994 free (v_buffer);
3998 v_buffer = 0; 3995 v_buffer = 0;
3999 v_buflen = 0;
4000 3996
4001 pty_ev.set (EVENT_READ); 3997 pty_ev.set (EVENT_READ);
4002 return; 3998 return;
4003 } 3999 }
4004 4000

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines