[PATCH xserver] xwayland: Remove MIPOINTER() definition

Peter Hutterer peter.hutterer at who-t.net
Fri Nov 11 05:37:39 UTC 2016


On Thu, Nov 10, 2016 at 09:36:40AM +0100, Olivier Fourdan wrote:
> Not needed anymore now that mipointer exposes an API for that,
> miPointerInvalidateSprite()
> 
> Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>

Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>

Cheers,
   Peter

> ---
>  hw/xwayland/xwayland-input.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/hw/xwayland/xwayland-input.c b/hw/xwayland/xwayland-input.c
> index 7ec3b1a..0526122 100644
> --- a/hw/xwayland/xwayland-input.c
> +++ b/hw/xwayland/xwayland-input.c
> @@ -35,12 +35,6 @@
>  #include <mipointer.h>
>  #include <mipointrst.h>
>  
> -/* Copied from mipointer.c */
> -#define MIPOINTER(dev) \
> -    (IsFloating(dev) ? \
> -        (miPointerPtr)dixLookupPrivate(&(dev)->devPrivates, miPointerPrivKey): \
> -        (miPointerPtr)dixLookupPrivate(&(GetMaster(dev, MASTER_POINTER))->devPrivates, miPointerPrivKey))
> -
>  struct sync_pending {
>      struct xorg_list l;
>      DeviceIntPtr pending_dev;
> -- 
> 2.9.3
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list