aboutsummaryrefslogtreecommitdiff
path: root/libxcb
diff options
context:
space:
mode:
Diffstat (limited to 'libxcb')
-rw-r--r--libxcb/src/c_client.py2
-rw-r--r--libxcb/xcb-proto/src/sync.xml35
2 files changed, 35 insertions, 2 deletions
diff --git a/libxcb/src/c_client.py b/libxcb/src/c_client.py
index 3e77e9ef2..ef245c561 100644
--- a/libxcb/src/c_client.py
+++ b/libxcb/src/c_client.py
@@ -2290,7 +2290,7 @@ except getopt.GetoptError as err:
for (opt, arg) in opts:
if opt == '-p':
- sys.path.append(arg)
+ sys.path.insert(1, arg)
# Import the module class
try:
diff --git a/libxcb/xcb-proto/src/sync.xml b/libxcb/xcb-proto/src/sync.xml
index e30923325..516d149ab 100644
--- a/libxcb/xcb-proto/src/sync.xml
+++ b/libxcb/xcb-proto/src/sync.xml
@@ -5,7 +5,7 @@ All Rights Reserved. See the file COPYING in this directory
for licensing information.
-->
<xcb header="sync" extension-xname="SYNC" extension-name="Sync"
- major-version="3" minor-version="0">
+ major-version="3" minor-version="1">
<import>xproto</import>
<xidtype name="ALARM" />
@@ -18,6 +18,8 @@ for licensing information.
<xidtype name="COUNTER" />
+ <xidtype name="FENCE" />
+
<enum name="TESTTYPE">
<item name="PositiveTransition" />
<item name="NegativeTransition" />
@@ -173,6 +175,37 @@ for licensing information.
</reply>
</request>
+ <request name="CreateFence" opcode="14">
+ <field type="DRAWABLE" name="drawable" />
+ <field type="FENCE" name="fence" />
+ <field type="BOOL" name="initially_triggered" />
+ </request>
+
+ <request name="TriggerFence" opcode="15">
+ <field type="FENCE" name="fence" />
+ </request>
+
+ <request name="ResetFence" opcode="16">
+ <field type="FENCE" name="fence" />
+ </request>
+
+ <request name="DestroyFence" opcode="17">
+ <field type="FENCE" name="fence" />
+ </request>
+
+ <request name="QueryFence" opcode="18">
+ <field type="FENCE" name="fence" />
+ <reply>
+ <pad bytes="1" />
+ <field type="BOOL" name="triggered" />
+ <pad bytes="23" />
+ </reply>
+ </request>
+
+ <request name="AwaitFence" opcode="19">
+ <list type="FENCE" name="fence_list" />
+ </request>
+
<event name="CounterNotify" number="0">
<field type="CARD8" name="kind" />
<field type="COUNTER" name="counter" />