summaryrefslogtreecommitdiff
path: root/man/XIQueryPointer.txt
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-02-01 07:36:08 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-02-23 15:03:18 +1000
commitd79a9b174a79e89ca2507a61f2e12af25102313f (patch)
tree00384046b06a9d577e64939505268eac9b43c9d4 /man/XIQueryPointer.txt
parent1b376f371c2f866cd1cdf047e50210a5c69772b9 (diff)
man: note that callers of XIQueryPointer must free the button mask.
buttons_return->mask is allocated by the library and must be freed by the caller to avoid leaking. Reported-by: Matthias Clasen <mclasen@redhat.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'man/XIQueryPointer.txt')
-rw-r--r--man/XIQueryPointer.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/man/XIQueryPointer.txt b/man/XIQueryPointer.txt
index 445f8b5..73fc11e 100644
--- a/man/XIQueryPointer.txt
+++ b/man/XIQueryPointer.txt
@@ -76,6 +76,9 @@ DESCRIPTION
selected to obtain the data for modifiers_return and
group_return.
+ The mask field in buttons_return is dynamically allocated and
+ must be freed by the caller.
+
XIQueryPointer is identical to XQueryPointer but specifies the
device explicitly.