diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-11-12 10:29:36 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-11-12 11:24:56 +1000 |
commit | 0f88d4e7937116dbc438f98ddf1f3d94cfc5bead (patch) | |
tree | b5a60bf905cd4580e6a278453bc0773aa84494c4 /mi | |
parent | 6a117af7e7ef6eac796ff0680a915c866fce4019 (diff) |
mi: fix documentation for miPointerSetPosition
Changed when we added barriers, documentation didn't get updated.
Reported-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'mi')
-rw-r--r-- | mi/mipointer.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mi/mipointer.c b/mi/mipointer.c index 98054259b..2bdd6ca98 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, |