xfree86: export NewInputDeviceRequest/DeleteInputDeviceRequest
NIDR should be used to create a new SD from e.g. within a driver. DIDR should be used to remove a device from the server. Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
This commit is contained in:
		
							parent
							
								
									5e213fe102
								
							
						
					
					
						commit
						0b4b683f3e
					
				|  | @ -461,7 +461,7 @@ AddOtherInputDevices() | ||||||
| { | { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| int | _X_EXPORT int | ||||||
| NewInputDeviceRequest (InputOption *options, DeviceIntPtr *pdev) | NewInputDeviceRequest (InputOption *options, DeviceIntPtr *pdev) | ||||||
| { | { | ||||||
|     IDevRec *idev = NULL; |     IDevRec *idev = NULL; | ||||||
|  | @ -604,7 +604,7 @@ unwind: | ||||||
|     return rval; |     return rval; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void | _X_EXPORT void | ||||||
| DeleteInputDeviceRequest(DeviceIntPtr pDev) | DeleteInputDeviceRequest(DeviceIntPtr pDev) | ||||||
| { | { | ||||||
|     LocalDevicePtr pInfo = (LocalDevicePtr) pDev->public.devicePrivate; |     LocalDevicePtr pInfo = (LocalDevicePtr) pDev->public.devicePrivate; | ||||||
|  |  | ||||||
|  | @ -642,6 +642,8 @@ _X_HIDDEN void *xfree86LookupTab[] = { | ||||||
|     SYMFUNC(xf86ActivateDevice) |     SYMFUNC(xf86ActivateDevice) | ||||||
|     SYMFUNC(xf86XInputSetScreen) |     SYMFUNC(xf86XInputSetScreen) | ||||||
|     SYMFUNC(xf86ScaleAxis) |     SYMFUNC(xf86ScaleAxis) | ||||||
|  |     SYMFUNC(NewInputDeviceRequest) | ||||||
|  |     SYMFUNC(DeleteInputDeviceRequest) | ||||||
| #ifdef DPMSExtension | #ifdef DPMSExtension | ||||||
|     SYMFUNC(DPMSGet) |     SYMFUNC(DPMSGet) | ||||||
|     SYMFUNC(DPMSSet) |     SYMFUNC(DPMSSet) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue