[PATCH xf86-input-vmmouse v3 2/2] InputDriverRec XINPUT cleanup.

Thomas Hellstrom thellstrom at vmware.com
Tue Oct 19 23:27:03 PDT 2010


On 10/20/2010 08:18 AM, Thomas Hellstrom wrote:
> Reviewed-by: Thomas Hellstrom<thellstrom at vmware.com>
>
> Is there a patch to bump the Input ABI major number in flight somewhere?
>    

Never mind, I just saw the mail from Peter in the ABI thread.
Thanks,
Thomas

> /Thomas
>
> On 10/19/2010 09:52 PM, Trevor Woerner wrote:
>    
>> From: Trevor Woerner<twoerner at gmail.com>
>>
>> ABI version 12 of the InputDriverRec data structure no longer
>> includes the refCount member.
>>
>> Signed-off-by: Trevor Woerner<twoerner at gmail.com>
>> ---
>>    src/vmmouse.c |    5 ++++-
>>    1 files changed, 4 insertions(+), 1 deletions(-)
>>
>> diff --git a/src/vmmouse.c b/src/vmmouse.c
>> index 1dfe5be..40c66cc 100644
>> --- a/src/vmmouse.c
>> +++ b/src/vmmouse.c
>> @@ -203,8 +203,11 @@ InputDriverRec VMMOUSE = {
>>       NULL,
>>       VMMousePreInit,
>>       VMMouseUnInit,
>> -   NULL,
>> +   NULL
>> +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION)<   12
>> +       ,
>>       0
>> +#endif
>>    };
>>
>>    static char reverseMap[32] = { 0,  4,  2,  6,  1,  5,  3,  7,
>>
>>      
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>    



More information about the xorg-devel mailing list