driver/xf86-input-keyboard wants IDevPtr
Pat Kane
pekane52 at gmail.com
Mon Nov 15 13:44:31 PST 2010
I am getting errors while trying to build git master input drivers because
some of them have lines like this:
static InputInfoPtr KbdPreInit(InputDriverPtr drv, IDevPtr dev, int flags);
./xf86-input-keyboard/src/kbd.c:KbdPreInit(InputDriverPtr drv,
IDevPtr dev, int flags)
Looks like IDevPtr was removed from xfree86/common/xf86str.h
commit b8d9c5ff0003f15720737949e65e3159c4f4576e
Author: Peter Hutterer <peter.hutterer at who-t.net>
Date: Thu Sep 2 14:30:11 2010 +1000
xfree86: remove IDevRec, replace with InputInfoRec.
This struct is superfluous, maintaining the same info as the InputInfoRec
(with the exception of the driver name).
This is a rather large commit with the majority of changes being a rename
from the fields of the IDevRec (idev, commonOptions) to the InputInfoRec
(pInfo, options).
The actual changes affect the initialization process of the input device:
In NewInputDeviceRequest, the InputInfoRec is now always allocated and just
added to the internal list in xf86NewInputDevice() if the init process
succeeded.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Tiago Vignatti <tiago.vignatti at nokia.com>
More information about the xorg-devel
mailing list