X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/d5275012b45149a2a6e94679609aacca478221ad..626b0ae40c71b6c1e02ece79bf033432647381a6:/st.c?ds=sidebyside diff --git a/st.c b/st.c index f1f7bc1..df43fac 100644 --- a/st.c +++ b/st.c @@ -2176,10 +2176,7 @@ tcontrolcode(uchar ascii) /* backwards compatibility to xterm */ strhandle(); } else { - if (!(win.state & WIN_FOCUSED)) - xseturgency(1); - if (bellvolume) - xbell(bellvolume); + xbell(); } break; case '\033': /* ESC */