diff --git a/hw/xnest/Keyboard.c b/hw/xnest/Keyboard.c index a17ea41a9..82176f91c 100644 --- a/hw/xnest/Keyboard.c +++ b/hw/xnest/Keyboard.c @@ -65,13 +65,13 @@ DeviceIntPtr xnestKeyboardDevice = NULL; void xnestBell(int volume, DeviceIntPtr pDev, void *ctrl, int cls) { - XBell(xnestDisplay, volume); + xcb_bell(xnestUpstreamInfo.conn, volume); } void DDXRingBell(int volume, int pitch, int duration) { - XBell(xnestDisplay, volume); + xcb_bell(xnestUpstreamInfo.conn, volume); } void