summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDemi Marie Obenour <demi@invisiblethingslab.com>2021-07-23 14:02:12 -0400
committerDemi Marie Obenour <demiobenour@gmail.com>2022-08-08 21:03:53 -0400
commit0d440c579b0f364bd655d97d1976d4eeddecf488 (patch)
treed309479fe11e0ae8203a0364c4cc79af47267989
parent23865049477f44a6b2fdc9580ee6e857a7f99854 (diff)
downloadxcb-proto-0d440c579b0f364bd655d97d1976d4eeddecf488.tar.gz
Add documentation for XFixes v6
This was previously added but was not documented. Signed-off-by: Demi Marie Obenour <demi@invisiblethingslab.com>
-rw-r--r--src/xfixes.xml25
1 files changed, 24 insertions, 1 deletions
diff --git a/src/xfixes.xml b/src/xfixes.xml
index a01cd7b..442bc02 100644
--- a/src/xfixes.xml
+++ b/src/xfixes.xml
@@ -365,10 +365,28 @@ authorization from the authors.
<enum name="ClientDisconnectFlags">
<item name="Default"><value>0</value></item>
<item name="Terminate"><bit>0</bit></item>
+ <doc>
+ <field name="Default"><![CDATA[
+The default behavior for regular clients: the X11 server won't terminate as long
+as such clients are still connected, and should this client disconnect, the
+server will continue running so long as other clients (that have not set
+XFixesClientDisconnectFlagTerminate) are connected.
+ ]]></field>
+ <field name="Terminate"><![CDATA[
+Indicates to the X11 server that it can ignore the client and terminate itself
+even though the client is still connected to the X11 server.
+ ]]></field>
+ </doc>
</enum>
<request name="SetClientDisconnectMode" opcode="33">
<field type="CARD32" name="disconnect_mode" mask="ClientDisconnectFlags" />
+ <doc>
+ <brief>Sets the disconnect mode for the client.</brief>
+ <field name="disconnect_mode"><![CDATA[
+The new disconnect mode.
+ ]]></field>
+ </doc>
</request>
<request name="GetClientDisconnectMode" opcode="34">
@@ -376,7 +394,12 @@ authorization from the authors.
<pad bytes="1" />
<field type="CARD32" name="disconnect_mode" mask="ClientDisconnectFlags" />
<pad bytes="20" />
+ <doc>
+ <brief>Gets the disconnect mode for the client.</brief>
+ <field name="disconnect_mode"><![CDATA[
+The current disconnect mode.
+ ]]></field>
+ </doc>
</reply>
</request>
-
</xcb>