On Fri, Feb 18, 2011 at 01:52:11PM +1000, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <[email protected]>
> ---
>  mi/mipointer.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/mi/mipointer.c b/mi/mipointer.c
> index 124f9de..aa0ca6d 100644
> --- a/mi/mipointer.c
> +++ b/mi/mipointer.c
> @@ -193,8 +193,7 @@ miPointerDisplayCursor (DeviceIntPtr pDev, ScreenPtr 
> pScreen, CursorPtr pCursor)
>      miPointerPtr pPointer;
>  
>      /* return for keyboards */
> -    if ((IsMaster(pDev) && !DevHasCursor(pDev)) ||
> -        (!IsMaster(pDev) && pDev->u.master && !DevHasCursor(pDev->u.master)))
> +    if (!IsPointerDevice(pDev))
>              return FALSE;
>  
>      pPointer = MIPOINTER(pDev);

This is a change in semantics; is it safe? If so, please note in the
commit message.

Cheers,
Daniel

Attachment: signature.asc
Description: Digital signature

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to