From 20218d591955c2ab8857ff5a3699f906047947fe Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Wed, 26 Mar 2008 18:18:53 +0000 Subject: Add DDXRingBell to xvnc.cc because it has to be implement by DDX. LegalModifier takes DeviceIntPtr as second parameter. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2450 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- unix/xserver/hw/vnc/xvnc.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'unix') diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc index 25847a66..c95516a7 100644 --- a/unix/xserver/hw/vnc/xvnc.cc +++ b/unix/xserver/hw/vnc/xvnc.cc @@ -1235,7 +1235,13 @@ extern "C" { int SelectWaitTime = 10000; /* usec */ #endif -Bool LegalModifier(unsigned int key, DevicePtr pDev) +void DDXRingBell(int percent, int pitch, int duration) +{ + if (percent > 0) + vncBell(); +} + +Bool LegalModifier(unsigned int key, DeviceIntPtr pDev) { return TRUE; } -- cgit v1.2.3