summaryrefslogtreecommitdiffstats
path: root/unix/xserver/hw/vnc/Input.cc
diff options
context:
space:
mode:
Diffstat (limited to 'unix/xserver/hw/vnc/Input.cc')
-rw-r--r--unix/xserver/hw/vnc/Input.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/unix/xserver/hw/vnc/Input.cc b/unix/xserver/hw/vnc/Input.cc
index 46b02fd1..5497d97e 100644
--- a/unix/xserver/hw/vnc/Input.cc
+++ b/unix/xserver/hw/vnc/Input.cc
@@ -200,7 +200,7 @@ const rfb::Point &InputDevice::getPointerPos(void)
return cursorPos;
}
-static int pointerProc(DeviceIntPtr pDevice, int onoff)
+int InputDevice::pointerProc(DeviceIntPtr pDevice, int onoff)
{
BYTE map[BUTTONS + 1];
DevicePtr pDev = (DevicePtr)pDevice;
@@ -267,9 +267,7 @@ static void keyboardBell(int percent, DeviceIntPtr device, pointer ctrl,
vncBell();
}
-extern void GetInitKeyboardMap(KeySymsPtr keysyms, CARD8 *modmap);
-
-static int keyboardProc(DeviceIntPtr pDevice, int onoff)
+int InputDevice::keyboardProc(DeviceIntPtr pDevice, int onoff)
{
#if XORG < 17
KeySymsRec keySyms;