X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=st.c;h=df43fac17186b0765a866ecbb3c98f22638071cd;hb=626b0ae40c71b6c1e02ece79bf033432647381a6;hp=f1f7bc11e5bc15eb84cd52364d78a2daefa7845f;hpb=d5275012b45149a2a6e94679609aacca478221ad;p=st.git 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 */