[PATCH] dix: Export more input related functions from Xorg

Adam Tkac atkac at redhat.com
Mon Mar 22 06:52:29 PDT 2010


Hello all,

I would like to ask you to apply attached patch to both master and
server-1.7-branches.

The patch exports four functions, AllocDevicePair, GetPointerEvents,
GetKeyboardEvents and generate_modkeymap, from Xorg. Those functions
are currently used by TigerVNC libvnc.so module which doesn't use
standard XInput infrastructure but uses same approach like XTest
input devices.

Main reason why libvnc.so doesn't use standard XInput functions, like
other input drivers, is that libvnc.so file contains two modules, VNC
extension and VNC input driver. Current Xorg loader is not able to
load two modules from one file.

Another reason is that we (TigerVNC project) would like to share input
related code between libvnc.so module and Xvnc, standalone X server.
Standalone X server (similar to Xnest, Xvfb) can't use xf86* input
driver infrastructure because it is only part of Xorg.

Regards, Adam

-- 
Adam Tkac, Red Hat, Inc.


More information about the xorg-devel mailing list