DINPUT: Enforce single mouse acquire

Alex Villací­s Lasso a_villacis at palosanto.com
Wed Jan 25 18:11:33 CST 2006


Dmitry Timoshkov wrote:
> On Wed, 2006-01-25 at 18:19 -0500, Alex Villací­s Lasso wrote:
>
>
>   
>> The easiest way out of this (the one the patch implements) is to 
>> disallow nested acquires. It is a little more complicated if DirectInput 
>> actually requires support for nested acquires (why? I have only one 
>> mouse...)
>>     
>
> But if you disallow nested acquires the check for This being NULL in
> the hook proc should not be needed, right?
>
>   
Good point. But it doesn't hurt either. This might be changed into an 
assertion, since that is what the hook expects. What do you think?

Alex Villacís Lasso




More information about the wine-devel mailing list