diff options
authorPeter Hutterer <>2010-02-04 15:05:36 +1000
committerPeter Hutterer <>2010-02-05 08:39:10 +1000
commit4966627f5fc74b30a5cc9ca9292a0314aabf1734 (patch)
parent8cd99782831c6d6e8407c7e99471780d118d2648 (diff)
man: document XI2 options
Document the options to modifiy the device hierarchy and change the ClientPointer. Signed-off-by: Peter Hutterer <>
1 files changed, 37 insertions, 0 deletions
diff --git a/man/ b/man/
index 7e1a9d3..b922656 100644
--- a/man/
+++ b/man/
@@ -102,9 +102,46 @@ and ProximityOut are registered.
Register for a number of XI2 events and display them. This option does not
take a device argument.
+.TP 8
+.B --create-master \fIprefix\fP [sendCore] [enable]
+Create a new pair of master devices on an XI2-enabled server with the given
+\fIprefix\fP. The server will create one master pointer named "\fIprefix\fP
+pointer" and one master keyboard named "\fIprefix\fP keyboard". If
+\fIsendCore\fP is 1, this pair of master devices is set to send core events
+(default). If \fIenable\fP is 1, this master device pair will be enabled
+immediately (default).
+.TP 8
+.B --remove-master \fImaster\fP [Floating|AttachToMaster] [returnPointer] [returnKeyboard]
+Remove \fImaster\fP and its paired master device. Attached slave devices
+are set floating if \fIFloating\fP is specified or the argument is omitted.
+If the second argument is \fIAttachToMaster\fP, \fIreturnPointer\fP
+specifies the master pointer to attach all slave pointers to and
+\fIreturnKeyboard\fP specifies the master keyboard to attach all slave
+keyboards to.
+.TP 8
+.B --reattach \fIslave\fP \fImaster\fP
+Reattach \fIslave\fP to \fImaster\fP.
+.TP 8
+.B --float \fIslave\fP
+Remove \fIslave\fP from its current master device.
+.TP 8
+.B --set-cp \fIwindow\fP \fImaster\fP
+Set the ClientPointer for the client owning \fIwindow\fP to \fImaster\fP.
+\fImaster\fP must specify a master pointer.
\fIdevice\fP can be the device name as a string or the XID of the
+\fIslave\fP can be the device name as a string or the XID of a slave
+\fImaster\fP can be the device name as a string or the XID of a master
\fIproperty\fP can be the property as a string or the Atom value.