diff options
author | Adam Tkac <atkac@redhat.com> | 2008-03-26 18:18:53 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2008-03-26 18:18:53 +0000 |
commit | 20218d591955c2ab8857ff5a3699f906047947fe (patch) | |
tree | 78ec9678df70d3f835c0db81348570886e31f3d6 /unix | |
parent | f07d3109be82d3df4fcb3584a4b3fb334eb5a78e (diff) | |
download | tigervnc-20218d591955c2ab8857ff5a3699f906047947fe.tar.gz tigervnc-20218d591955c2ab8857ff5a3699f906047947fe.zip |
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
Diffstat (limited to 'unix')
-rw-r--r-- | unix/xserver/hw/vnc/xvnc.cc | 8 |
1 files changed, 7 insertions, 1 deletions
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; } |