[PATCH] mi: fix documentation for miPointerSetPosition
Dave Airlie
airlied at gmail.com
Tue Nov 11 17:05:47 PST 2014
On 12 November 2014 10:30, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> Changed when we added barriers, documentation didn't get updated.
>
> Reported-by: Dave Airlie <airlied at redhat.com>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
LGTM
Reviewed-by: Dave Airlie <airlied at redhat.com>
> ---
> mi/mipointer.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/mi/mipointer.c b/mi/mipointer.c
> index 9805425..2bdd6ca 100644
> --- a/mi/mipointer.c
> +++ b/mi/mipointer.c
> @@ -553,10 +553,15 @@ miPointerMoveNoEvent(DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
> * The coordinates provided are always absolute. The parameter mode whether
> * it was relative or absolute movement that landed us at those coordinates.
> *
> + * If the cursor was constrained by a barrier, ET_Barrier* events may be
> + * generated and appended to the InternalEvent list provided.
> + *
> * @param pDev The device to move
> * @param mode Movement mode (Absolute or Relative)
> * @param[in,out] screenx The x coordinate in desktop coordinates
> * @param[in,out] screeny The y coordinate in desktop coordinates
> + * @param[in,out] nevents The number of events in events (before/after)
> + * @param[in,out] events The list of events before/after being constrained
> */
> ScreenPtr
> miPointerSetPosition(DeviceIntPtr pDev, int mode, double *screenx,
> --
> 2.1.0
>
> _______________________________________________
> 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