[PATCH] Expose GetMaster to modules.

Peter Hutterer peter.hutterer at who-t.net
Mon Feb 23 14:11:51 PST 2015


On Thu, Feb 19, 2015 at 02:57:27PM +0200, msrb at suse.com wrote:
> From: Michal Srb <msrb at suse.com>
> 
> Add _X_EXPORT to GetMaster function. It is required by tigervnc's VNC module.

ack, but please sign off your patches to the X server

Cheers,
   Peter

> ---
>  include/input.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/input.h b/include/input.h
> index bf22dc7..7212cc1 100644
> --- a/include/input.h
> +++ b/include/input.h
> @@ -505,7 +505,7 @@ extern int AttachDevice(ClientPtr client,
>                          DeviceIntPtr slave, DeviceIntPtr master);
>  
>  extern _X_EXPORT DeviceIntPtr GetPairedDevice(DeviceIntPtr kbd);
> -extern DeviceIntPtr GetMaster(DeviceIntPtr dev, int type);
> +extern _X_EXPORT DeviceIntPtr GetMaster(DeviceIntPtr dev, int type);
>  
>  extern _X_EXPORT int AllocDevicePair(ClientPtr client,
>                                       const char *name,
> -- 
> 2.1.2
> 
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
> 


More information about the xorg-devel mailing list