[PATCH] mi: fix documentation for miPointerSetPosition

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 11 16:30:46 PST 2014


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>
---
 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



More information about the xorg-devel mailing list