[PATCH vmmouse 1/4] Replace LocalDevicePtr with InputInfoPtr.
Thomas Hellstrom
thellstrom at vmware.com
Thu Nov 4 03:34:00 PDT 2010
This patch series has been reviewed, tested and pushed.
Thanks,
/Thomas
On 11/02/2010 12:09 AM, Peter Hutterer wrote:
> The LocalDevicePtr define was removed from the server with ABI 12, but
> InputInfoPtr has been an alias for it since the Xfree86/Xorg fork.
>
> Signed-off-by: Peter Hutterer<peter.hutterer at who-t.net>
> ---
> src/vmmouse.c | 10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/src/vmmouse.c b/src/vmmouse.c
> index b716f46..59e7be7 100644
> --- a/src/vmmouse.c
> +++ b/src/vmmouse.c
> @@ -129,8 +129,8 @@ static void GetVMMouseMotionEvent(InputInfoPtr pInfo);
> static void VMMousePostEvent(InputInfoPtr pInfo, int buttons, int dx, int dy, int dz, int dw);
> static void VMMouseDoPostEvent(InputInfoPtr pInfo, int buttons, int dx, int dy);
> static Bool VMMouseDeviceControl(DeviceIntPtr device, int mode);
> -static void VMMouseCloseProc(LocalDevicePtr local);
> -static int VMMouseControlProc(LocalDevicePtr local, xDeviceCtl * control);
> +static void VMMouseCloseProc(InputInfoPtr pInfo);
> +static int VMMouseControlProc(InputInfoPtr pInfo, xDeviceCtl * control);
> static void VMMouseReadInput(InputInfoPtr pInfo);
> static int VMMouseSwitchMode(ClientPtr client, DeviceIntPtr dev, int mode);
> static Bool VMMouseConvertProc(InputInfoPtr pInfo, int first, int num, int v0, int v1, int v2,
> @@ -686,7 +686,7 @@ MouseCommonOptions(InputInfoPtr pInfo)
> */
>
> static void
> -VMMouseUnInit(InputDriverPtr drv, LocalDevicePtr local, int flags)
> +VMMouseUnInit(InputDriverPtr drv, InputInfoPtr pInfo, int flags)
> {
> xf86Msg(X_INFO, "VMWARE(0): VMMouseUnInit\n");
> }
> @@ -1033,7 +1033,7 @@ GetVMMouseMotionEvent(InputInfoPtr pInfo){
> */
>
> static int
> -VMMouseControlProc(LocalDevicePtr local, xDeviceCtl * control)
> +VMMouseControlProc(InputInfoPtr pInfo, xDeviceCtl * control)
> {
> xf86Msg(X_INFO, "VMWARE(0): VMMouseControlProc\n");
> return (Success);
> @@ -1056,7 +1056,7 @@ VMMouseControlProc(LocalDevicePtr local, xDeviceCtl * control)
> */
>
> static void
> -VMMouseCloseProc(LocalDevicePtr local)
> +VMMouseCloseProc(InputInfoPtr pInfo)
> {
> xf86Msg(X_INFO, "VMWARE(0): VMMouseCloseProc\n");
> }
>
More information about the xorg-devel
mailing list