Input: Allow a pointer to a device to be returned in NIDR

Allow a pointer to the first device added to be returned, so we know which
device(s) were added by the NIDR call.
This commit is contained in:
Remigiusz Marcinkiewicz 2007-04-11 00:38:16 +03:00 committed by Daniel Stone
commit aecbc71214
4 changed files with 12 additions and 4 deletions

View file

@ -445,7 +445,8 @@ extern DeviceIntPtr LookupDeviceIntRec(
/* Implemented by the DDX. */
extern int NewInputDeviceRequest(
InputOption *options);
InputOption *options,
DeviceIntPtr *dev);
extern void DeleteInputDeviceRequest(
DeviceIntPtr dev);