[PATCH] xfixes: ifdef PanoramiXFixes* (#62015)

Daniel Martin consume.noise at gmail.com
Sun Mar 10 03:08:30 PDT 2013


On Sat, Mar 09, 2013 at 05:19:51PM +1000, Peter Hutterer wrote:
> Fixes build failure with --disable-xinerama introduced by
> 482e0cb cursor: Move pointer barrier code over to XI
> 
> Reason is new include order: sdksyms.sh includes xfixes.h, which previously
> did not include xfixesint.h.
> 
> As of 482e0cb xfixes.h includes xibarriers.h which includes xfixesint.h
> 
> X.Org Bug 62015 <http://bugs.freedesktop.org/show_bug.cgi?id=62015>
> 
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  xfixes/xfixesint.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/xfixes/xfixesint.h b/xfixes/xfixesint.h
> index 334c71f..44e8890 100644
> --- a/xfixes/xfixesint.h
> +++ b/xfixes/xfixesint.h
> @@ -291,8 +291,10 @@ int
>   SProcXFixesDestroyPointerBarrier(ClientPtr client);
>  
>  /* Xinerama */
> +#ifdef PANORAMIX
>  extern int (*PanoramiXSaveXFixesVector[XFixesNumberRequests]) (ClientPtr);
>  void PanoramiXFixesInit(void);
>  void PanoramiXFixesReset(void);
> +#endif
>  
>  #endif                          /* _XFIXESINT_H_ */
> -- 
> 1.8.1.4

Tested-by: Daniel Martin <consume.noise at gmail.com>


More information about the xorg-devel mailing list