diff --git a/hw/xnest/Keyboard.c b/hw/xnest/Keyboard.c index 2148b6fc0..717b463f7 100644 --- a/hw/xnest/Keyboard.c +++ b/hw/xnest/Keyboard.c @@ -64,13 +64,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