aboutsummaryrefslogtreecommitdiffhomepage
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/st.c b/st.c
index 96d45bf..4a91073 100644
--- a/st.c
+++ b/st.c
@@ -2320,6 +2320,8 @@ tputc(char *c, int len) {
case '\a': /* BEL */
if(!(xw.state & WIN_FOCUSED))
xseturgency(1);
+ if (bellvolume)
+ XBell(xw.dpy, bellvolume);
return;
case '\033': /* ESC */
csireset();