[PATCH] Add a prototype for CopyGetMasterEvent()

Peter Hutterer peter.hutterer at who-t.net
Tue Feb 3 15:42:46 PST 2009


On Wed, Feb 04, 2009 at 12:03:12AM +0100, Tomas Carnecky wrote:
> This function is defined in mi/mieq.c and used in xkb/ddxDevBtn.c,
> hence it needs a prototype.
> 
> Signed-off-by: Tomas Carnecky <tom at dbservice.com>
> ---
>  include/input.h |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/include/input.h b/include/input.h
> index 3b7a173..a91e7e9 100644
> --- a/include/input.h
> +++ b/include/input.h
> @@ -474,6 +474,14 @@ extern _X_EXPORT int AllocMasterDevice(ClientPtr client,
>  extern _X_EXPORT void DeepCopyDeviceClasses(DeviceIntPtr from,
>                                    DeviceIntPtr to);
>  
> +extern _X_EXPORT void CopyGetMasterEvent(
> +    DeviceIntPtr mdev,
> +    DeviceIntPtr sdev,
> +    xEvent* original,
> +    EventListPtr master,
> +    int count
> +);
> +

_X_INTERNAL is the better approach here. CGME should not be visible to anyone
but the server itself.

Cheers,
  Peter



More information about the xorg mailing list