[PATCH 2/6] dix: drop unused argument from XISendDeviceChangedEvent

Daniel Stone daniel at fooishbar.org
Sat Oct 22 01:48:25 PDT 2011


On 22 October 2011 00:18, Jeremy Huddleston <jeremyhu at apple.com> wrote:
> I'm confused by the comment, "and just using master" ... because the prototype changes:
>> -XISendDeviceChangedEvent(DeviceIntPtr device, DeviceIntPtr master, DeviceChangedEvent *dce)
>> +XISendDeviceChangedEvent(DeviceIntPtr device, DeviceChangedEvent *dce)
> which seems like you were just using device...

Ish.  Only master was used inside the function, and all the callers
were changed to remove the first argument, so the result is the same
as removing the 'device' argument, and then later renaming master to


More information about the xorg-devel mailing list