summaryrefslogtreecommitdiff
blob: 8a7c76da5b3438b1978e7b4e9e53323c46c9505e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/evdev_key.c.old	2006-11-04 17:01:57.000000000 -0700
+++ src/evdev_key.c	2006-11-04 17:05:28.000000000 -0700
@@ -240,9 +240,11 @@
 static void
 EvdevKbdBell (int percent, DeviceIntPtr device, pointer arg, int unused)
 {
+#ifdef xf86OSRingBell
     KeybdCtrl *ctrl = arg;
 
     xf86OSRingBell(percent, ctrl->bell_pitch, ctrl->bell_duration);
+#endif
 }
 
 static void