X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=st.c;h=4a91073c6a269fee660f3bfb999ec9fd9a287186;hp=96d45bf4ae82f351489ec2814a5becaa0ba3afbc;hb=bef599bb279e6c9b08853ceebefade066e362c48;hpb=210dda9570095443bac887c2bfcd75f2bcc23780 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();