Don't set urgent when the urxvt window is focused
[dana/urxvt.git] / src / screen.C
index 1558792..0f06e66 100644 (file)
@@ -1923,7 +1923,7 @@ rxvt_term::scr_bell () NOTHROW
 # endif
 
 # if ENABLE_FRILLS
-  if (option (Opt_urgentOnBell))
+  if (option (Opt_urgentOnBell) && !focus)
     set_urgency (1);
 # endif