summaryrefslogtreecommitdiff
path: root/man/XGetPairedPointer.man
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2007-07-27 01:30:13 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2007-07-27 01:31:06 +0930
commit3da6998ef89c99ad01f20a8f37e3c26c0b7c1ced (patch)
tree269e926eefc0850e0abe2f675962938199d22adb /man/XGetPairedPointer.man
parent25c023f91851a4b32b295b6d5633f6ee87d0ba14 (diff)
XChangePointerKeyboardPairing, XGetPairedPointer, XSetClientPointer man pages.mpx
Use XID instead of int for XGetPairedPointer.
Diffstat (limited to 'man/XGetPairedPointer.man')
-rw-r--r--man/XGetPairedPointer.man46
1 files changed, 46 insertions, 0 deletions
diff --git a/man/XGetPairedPointer.man b/man/XGetPairedPointer.man
new file mode 100644
index 0000000..cc1d19f
--- /dev/null
+++ b/man/XGetPairedPointer.man
@@ -0,0 +1,46 @@
+.\" Copyright ([\d,\s]*) by Peter Hutterer
+.\"
+.\" Permission to use, copy, modify, distribute, and sell this documentation
+.\" for any purpose and without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\" The authors make no representations about the .\" suitability for any
+.\" purpose of the information in this document. It is .\" provided \`\`as is''
+.\" without express or implied warranty.
+.\"
+.ds xL Programming with Xlib
+.TH XGetPairedPointer __LIB_MAN_SUFFIX__ __xorgversion__ "X FUNCTIONS"
+.SH NAME
+XGetPairedPointer \- get the ID of the pointer paired with the given keyboard.
+.SH SYNTAX
+.HP
+Bool XGetPairedPointer\^(\^Display *\fIdisplay\fP\^, XDevice
+*\fIkeyboard\fP\^, XID* deviceid);
+.fi
+\fP
+.SH ARGUMENTS
+.TP 12
+.I display
+Specifies the connection to the X server.
+.TP 12
+.I keyboard
+Specifies the keyboard device to query.
+.TP 12
+.I deviceid
+Returns the ID of the pointer device the keyboard is paired with.
+.SH DESCRIPTION
+The \fIXGetPairedPointer\fP
+request retrieves the ID of the device that is paired with the given keyboard.
+\fIXGetPairedPointer\fP returns \fITRUE\fP if the given keyboard is paired
+with a pointer device and sets \fIdeviceid\fP to the ID of this pointer
+device. Otherwise, \fIXGetPairedPointer\fP returns \fIFALSE\fP.
+.LP
+\fIXGetPairedPointer\fP can generate a \fIBadDevice\fP error.
+.SH DIAGNOSTICS
+.TP 12
+\fIBadDevice\fP
+An invalid device was specified. The specified device does not exist,
+or is not a keyboards device.
+.SH "SEE ALSO"
+XChangePointerKeyboardPairing(__LIB_MAN_SUFFIX__)
+.br
+\fI\*(xL\fP