aboutsummaryrefslogtreecommitdiff
path: root/src/evdev_key.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/evdev_key.c')
-rw-r--r--src/evdev_key.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/evdev_key.c b/src/evdev_key.c
index 9fddb2b..a759f5f 100644
--- a/src/evdev_key.c
+++ b/src/evdev_key.c
@@ -244,12 +244,14 @@ static KeySym map[] = {
};
/*
- * FIXME: We can't actually _do_ anything here.
- * Find a way around this.
+ * FIXME: We have no way of ringing the bell ourselves.
+ * So use the system bell for now.
*/
static void
EvdevKbdBell (int percent, DeviceIntPtr device, pointer ctrl, int unused)
{
+ xf86SoundKbdBell(percent, ((KeybdCtrl*) ctrl)->bell_pitch,
+ ((KeybdCtrl*) ctrl)->bell_duration);
}
static void