[PATCH 12/17] dix: add KEYBOARD_OR_FLOAT and POINTER_OR_FLOAT to GetMaster()
Daniel Stone
daniel at fooishbar.org
Mon Aug 8 02:17:26 PDT 2011
On Mon, Aug 08, 2011 at 04:21:08PM +1000, Peter Hutterer wrote:
> GetMaster() currently requires an attached slave device as parameter,
> resuling in many calls being IsFloating(dev) ? dev : GetMaster(...);
>
> Add two new parameters so GetMaster can be called unconditionally to get the
> right device.
>
> [...]
>
> + * - POINTER_OR_SLAVE: the master pointer for this device or the device for
> + * a floating slave
> + * - KEYBOARD_OR_SLAVE: the master keyboard for this device or the device for
Aside from this comment (which seems to have a sentence ending in
mid-air as well as the _OR_SLAVE vs. _OR_FLOAT confusion):
Reviewed-by: Daniel Stone <daniel at fooishbar.org>
More information about the xorg-devel
mailing list