rxvt-unicode-9.06-no-urgency-if-focused.diff 287 B

12345678910111213141516
  1. --- a/src/screen.C
  2. +++ b/src/screen.C
  3. @@ -1927,11 +1927,11 @@
  4. # endif
  5. XMapWindow (dpy, parent[0]);
  6. # endif
  7. # if ENABLE_FRILLS
  8. - if (option (Opt_urgentOnBell))
  9. + if (option (Opt_urgentOnBell) && !focus)
  10. set_urgency (1);
  11. # endif
  12. if (option (Opt_visualBell))
  13. {