summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-no-urgency-if-focused.diff')
-rw-r--r--x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-no-urgency-if-focused.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-no-urgency-if-focused.diff b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-no-urgency-if-focused.diff
new file mode 100644
index 000000000000..81a3646d4859
--- /dev/null
+++ b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-no-urgency-if-focused.diff
@@ -0,0 +1,16 @@
+diff -NrU5 rxvt-unicode-9.06.original/src/screen.C rxvt-unicode-9.06/src/screen.C
+--- rxvt-unicode-9.06.original/src/screen.C 2009-10-25 18:16:16.000000000 -0600
++++ rxvt-unicode-9.06/src/screen.C 2009-10-25 18:17:53.000000000 -0600
+@@ -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))
+ {