Don't set urgent when the urxvt window is focused
authorDana Jansens <danakj@orodu.net>
Sat, 1 Mar 2008 01:44:56 +0000 (20:44 -0500)
committerDana Jansens <danakj@orodu.net>
Wed, 19 May 2010 17:33:40 +0000 (13:33 -0400)
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