!16 Add documentation for XFixes v6
From: @Yoe_real Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
a1fd008323
62
Add-documentation-for-XFixes-v6.patch
Normal file
62
Add-documentation-for-XFixes-v6.patch
Normal file
@ -0,0 +1,62 @@
|
||||
From 0d440c579b0f364bd655d97d1976d4eeddecf488 Mon Sep 17 00:00:00 2001
|
||||
From: Demi Marie Obenour <demi@invisiblethingslab.com>
|
||||
Date: Fri, 23 Jul 2021 14:02:12 -0400
|
||||
Subject: [PATCH] Add documentation for XFixes v6
|
||||
|
||||
This was previously added but was not documented.
|
||||
|
||||
Signed-off-by: Demi Marie Obenour <demi@invisiblethingslab.com>
|
||||
---
|
||||
src/xfixes.xml | 25 ++++++++++++++++++++++++-
|
||||
1 file changed, 24 insertions(+), 1 deletion(-)
|
||||
|
||||
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>
|
||||
--
|
||||
2.40.0.windows.1
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
%define debug_package %{nil}
|
||||
Name: xcb-proto
|
||||
Version: 1.15.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: XCB protocol descriptions
|
||||
License: MIT
|
||||
URL: https://gitlab.freedesktop.org/xorg/proto/xcbproto/
|
||||
@ -13,6 +13,7 @@ BuildRequires: python3-devel
|
||||
Requires: pkgconfig
|
||||
|
||||
Patch0001: backport-0001-Document-the-MIT-SHM-extension.patch
|
||||
Patch0002: Add-documentation-for-XFixes-v6.patch
|
||||
|
||||
%description
|
||||
The X protocol C-language Binding (XCB) is a replacement for
|
||||
@ -38,6 +39,9 @@ to the protocol, improved threading support, and extensibility.
|
||||
%{python3_sitelib}/xcbgen
|
||||
|
||||
%changelog
|
||||
* Fri Jul 7 2023 yaozile <yaozile@xfusion.com> - 1.15.2-2
|
||||
- Add-documentation-for-XFixes-v6.patch
|
||||
|
||||
* Mon May 29 2023 wulei <wu_lei@hoperun.com> - 1.15.2-1
|
||||
- Upgrade package to version 1.15.2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user