]> CyberLeo.Net >> Repos - CDN/cdn-ports-overlay.git/blob - cdn/ports/x11/rxvt-unicode/files/patch-src_screen-no_urgent_bell_when_focused
x11/rxvt-unicode: add patch to avoid setting urgent on bell when focused
[CDN/cdn-ports-overlay.git] / cdn / ports / x11 / rxvt-unicode / files / patch-src_screen-no_urgent_bell_when_focused
1 diff -NrU5 rxvt-unicode-9.06.original/src/screen.C rxvt-unicode-9.06/src/screen.C
2 --- src/screen.C        2009-10-25 18:16:16.000000000 -0600
3 +++ src/screen.C        2009-10-25 18:17:53.000000000 -0600
4 @@ -1927,11 +1927,11 @@
5  #  endif
6      XMapWindow (dpy, parent[0]);
7  # endif
8  
9  # if ENABLE_FRILLS
10 -  if (option (Opt_urgentOnBell))
11 +  if (option (Opt_urgentOnBell) && !focus)
12      set_urgency (1);
13  # endif
14  
15    if (option (Opt_visualBell))
16      {
17