Hi,
I have following problem: when I enable urgentOnBell and the window
beeps while the window is focused, the urgency bell is still enabled
when I focus the window out which doesn't make sense for me.
This patch fixes the problem for me. It would be nice if that issue
could also be fixed mainline.
Thanks,
Bernhard
---
src/command.C | 13 +++++++++++++
1 file changed, 13 insertions(+)
--- a/src/command.C
+++ b/src/command.C
@@ -1803,6 +1803,19 @@ rxvt_term::focus_out ()
}
#endif
}
+#if ENABLE_FRILLS
+ if (option (Opt_urgentOnBell))
+ {
+ XWMHints *h;
+
+ h = XGetWMHints(dpy, parent[0]);
+ if (h != NULL)
+ {
+ h->flags &= ~XUrgencyHint;
+ XSetWMHints(dpy, parent[0], h);
+ }
+ }
+#endif
}
void
_______________________________________________
rxvt-unicode mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode