summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-08 16:14:12 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-08 16:14:12 +0300
commit77cbbc20b60fd564f8add39bfb840c85d5cad51d (patch)
tree477c231f4d6373618dc7456b636d6c60bb12911e
parente4681504487151553894ae0d513b9e833d2597d1 (diff)
key: remove usage of OS keyboard layer for bell
Right now, bell is a no-op.
-rw-r--r--src/evdev_key.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/evdev_key.c b/src/evdev_key.c
index 8917c3b..577ae73 100644
--- a/src/evdev_key.c
+++ b/src/evdev_key.c
@@ -240,8 +240,11 @@ static KeySym map[] = {
static void
EvdevKbdBell (int percent, DeviceIntPtr device, pointer ctrl, int unused)
{
+/* OS keyboard layer has been removed. */
+#if 0
xf86SoundKbdBell(percent, ((KeybdCtrl*) ctrl)->bell_pitch,
((KeybdCtrl*) ctrl)->bell_duration);
+#endif
}
static void