X-Git-Url: https://jasonwoof.com/gitweb/?p=st.git;a=blobdiff_plain;f=st.c;h=c61b90ab8afb26f0f2e21b031923d66dd11a42ee;hp=22a1ce6754a4269449b5269a08f2626e9d04efb7;hb=86633ada91d1c7d8be1bf0398caff8a62fb1b805;hpb=dcfe505d3c97506918d5aff24ab62e17e5f58fdb diff --git a/st.c b/st.c index 22a1ce6..c61b90a 100644 --- a/st.c +++ b/st.c @@ -27,6 +27,7 @@ #include #include #include +#include #include #include @@ -2423,7 +2424,7 @@ tcontrolcode(uchar ascii) { if(!(xw.state & WIN_FOCUSED)) xseturgency(1); if (bellvolume) - XBell(xw.dpy, bellvolume); + XkbBell(xw.dpy, xw.win, bellvolume, (Atom)NULL); } break; case '\033': /* ESC */