JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
patch for bell in st
authorCustaiCo <custaico@openmailbox.org>
Fri, 3 Oct 2014 19:25:21 +0000 (19:25 +0000)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Mon, 13 Oct 2014 17:15:52 +0000 (19:15 +0200)
commit86633ada91d1c7d8be1bf0398caff8a62fb1b805
tree98c23d43e03fd57e2460e888905899e60b9bd824
parentdcfe505d3c97506918d5aff24ab62e17e5f58fdb
patch for bell in st

The XBell() call currently used when a bell is recieved sends a message
to the X server, but if the X server doesn't know how to sound it,
it just gets ignored and I have not been able to find anywhere in x.org's
code a way to configure the action that the server does.

However, if you use XkbBell() then you can have a process listening for
the XkbBellNotifyEvent that is produced and either alert you visually or
play an audio file or whatever you want as your notification. You have
to include one more header file but the function seems to be compiled as
part of Xlib, at least on my installation.

CustaiCo
st.c