]> source.dussan.org Git - tigervnc.git/commitdiff
Add DDXRingBell to xvnc.cc because it has to be implement by DDX.
authorAdam Tkac <atkac@redhat.com>
Wed, 26 Mar 2008 18:18:53 +0000 (18:18 +0000)
committerAdam Tkac <atkac@redhat.com>
Wed, 26 Mar 2008 18:18:53 +0000 (18:18 +0000)
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

index 25847a661981d75fb2a5d5b5d6b53771894cbf24..c95516a72451f44be0e9d416c5eff7e0ca5efe1a 100644 (file)
@@ -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;
 }