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