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.diff15
1 files changed, 15 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 00000000000..3408d73731c
--- /dev/null
+++ b/x11-terms/rxvt-unicode/files/rxvt-unicode-9.06-no-urgency-if-focused.diff
@@ -0,0 +1,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))
+ {