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.354 by sasha, Wed Sep 12 21:06:08 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}
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