diff options
author | Adam Tkac <atkac@redhat.com> | 2008-03-26 17:13:33 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2008-03-26 17:13:33 +0000 |
commit | fbeb0ed67e443a55c55971d8f87b55fe1f6cef3e (patch) | |
tree | f71b11840060faae7923055d8fc085f2342cc863 /unix/xserver/hw/vnc/xvnc.cc | |
parent | 7702c9774c07f5e2b8048e34baf08e9f29bdd7f3 (diff) | |
download | tigervnc-fbeb0ed67e443a55c55971d8f87b55fe1f6cef3e.tar.gz tigervnc-fbeb0ed67e443a55c55971d8f87b55fe1f6cef3e.zip |
Initialize input devices in XserverDesktop constructor and update
InitPointerDeviceStruct and mieqInit parameters.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/1.5-xserver@2448 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix/xserver/hw/vnc/xvnc.cc')
-rw-r--r-- | unix/xserver/hw/vnc/xvnc.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc index 42ad72db..25847a66 100644 --- a/unix/xserver/hw/vnc/xvnc.cc +++ b/unix/xserver/hw/vnc/xvnc.cc @@ -1251,11 +1251,5 @@ void ProcessInputEvents() void InitInput(int argc, char *argv[]) { - DeviceIntPtr p, k; - p = AddInputDevice(vfbMouseProc, TRUE); - k = AddInputDevice(vfbKeybdProc, TRUE); - RegisterPointerDevice(p); - RegisterKeyboardDevice(k); - miRegisterPointerDevice(screenInfo.screens[0], p); - (void)mieqInit ((DevicePtr)k, (DevicePtr)p); + mieqInit (); } |