diff --git a/hw/xnest/Keyboard.c b/hw/xnest/Keyboard.c index daad11002..90d0d3423 100644 --- a/hw/xnest/Keyboard.c +++ b/hw/xnest/Keyboard.c @@ -67,13 +67,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