[PATCH:xf86-input-mouse 4/4] For wsmouse, keep 3-button emulation status.

Alan Coopersmith alan.coopersmith at oracle.com
Sun Mar 30 08:41:05 PDT 2014


On 03/30/14 06:00 AM, Thomas Klausner wrote:
>> (In fact you could probably put the whole function body in the #else...#endif
>>   clause, but then you'd have to add an attribute to tell the compiler it's
>>   expected that the pInfo argument is unused.)
>
> If you prefer that, please let me know what magic I need to use to do that :)

There's a _X_UNUSED define in Xfuncproto.h that sets __attribute__((__unused__))
for compilers which support it, but then you have to also ensure you're using at
least xproto >= 7.0.22 to get the definition for it.

> Attached patch ok?

Yes, Reviewed-by: Alan Coopersmith <alan.coopersmith at oracle.com>

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list