diff options
author | Neil Roberts <neil@linux.intel.com> | 2013-02-14 12:10:50 +0000 |
---|---|---|
committer | Peter Harris <pharris@opentext.com> | 2013-02-14 11:35:26 -0500 |
commit | c0d65da722ec194650f711d7a1948b777f0dc34c (patch) | |
tree | 28881954cc33d39d261189ed210733cf12d14a73 | |
parent | ca30e6d5d7a0c7618d988f9051026d250f5e124e (diff) |
xfixes: Update to version 5
This adds the two new functions in XFixes version 5 for handling
pointer barriers.
Signed-off-by: Neil Roberts <neil@linux.intel.com>
Tested-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
-rw-r--r-- | src/xfixes.xml | 30 |
1 files changed, 29 insertions, 1 deletions
diff --git a/src/xfixes.xml b/src/xfixes.xml index 9bbeaab..cbc7542 100644 --- a/src/xfixes.xml +++ b/src/xfixes.xml @@ -26,7 +26,7 @@ authorization from the authors. --> <!-- This file describes version 4 of XFixes. --> <xcb header="xfixes" extension-xname="XFIXES" extension-name="XFixes" - major-version="4" minor-version="0"> + major-version="5" minor-version="0"> <import>xproto</import> <import>render</import> <import>shape</import> @@ -331,4 +331,32 @@ authorization from the authors. <request name="ShowCursor" opcode="30"> <field type="WINDOW" name="window" /> </request> + + <!-- Version 5 --> + + <xidtype name="BARRIER" /> + + <enum name="DirectionMask"> + <item name="PositiveX"><bit>0</bit></item> + <item name="PositiveY"><bit>1</bit></item> + <item name="NegativeX"><bit>2</bit></item> + <item name="NegativeY"><bit>3</bit></item> + </enum> + + <request name="CreatePointerBarrier" opcode="31"> + <field type="BARRIER" name="barrier" /> + <field type="WINDOW" name="window" /> + <field type="CARD16" name="x1" /> + <field type="CARD16" name="y1" /> + <field type="CARD16" name="x2" /> + <field type="CARD16" name="y2" /> + <field type="CARD32" name="directions" mask="DirectionMask" /> + <pad bytes="2" /> + <field type="CARD16" name="num_devices" /> + <list type="CARD16" name="devices"><fieldref>num_devices</fieldref></list> + </request> + + <request name="DeletePointerBarrier" opcode="32"> + <field type="BARRIER" name="barrier" /> + </request> </xcb> |