This fixes bug #63158:
screensaver notify event specification is incorrect
https://bugs.freedesktop.org/show_bug.cgi?id=63158
As stated in the bug report the response_type and sequence field will be
added automatically while parsing the specification. Additionally, the
pad field is wrong.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
Adopt the XML schema change from commit
ee71d96 Allow multiple <enumref> in a <bitcase>
and its usage with commit
b3b5e02 XKB: Fix GetKbdByName.
Signed-off-by: Daniel Martin <consume.noise@gmail.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
Each part of the reply has a fake type, sequence, and length. In
addition, some parts of the reply are encoded only once even when
multiple bits are set.
Signed-off-by: Peter Harris <pharris@opentext.com>
SymInterpret is referenced by the spec, but never defined. Therefore,
the definition of SymInterpret is inferred from the server implementation.
Signed-off-by: Peter Harris <pharris@opentext.com>
Should be <pad align=4>, not <pad bytes=1>. This is a very long-winded
way to write <pad align>, since libxcb doesn't support <pad align> yet.
Signed-off-by: Peter Harris <pharris@opentext.com>
The no-sequence-number attribute was not necessary to achive what commit
d42d791 did. The first field automatically goes between the
response_type and the sequence field in the header. So, adding the
xkbType field would've been sufficient to fix the broken events.
Reference-to: d42d791 XKB: Fix broken events
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>
XKB events all have exactly the same event number - 0 (from the XKB
event base). Within this, they're all multiplexed by the xkbType field,
which comes immediately after the event type field, before the sequence
number. Without this field, the events are pretty much useless, so add
it manually.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Reviewed-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Julien Danjou <julien@danjou.info>
In DRI2 1.4, the DRI2GetParam request was added.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
This is fallout from commit 76ca2c0b15,
which renamed the *parent parameter of ExprType.__init__, but failed
to rename the instance attribute to which it was assigned.
Signed-off-by: Julien Danjou <julien@danjou.info>
XKB-SetControls has some incorrectly named fields according to the spec,
interanlRealMods -> internalRealMods, Internal where Ignore should be used.
This fixes#43605
Signed-off-by: Julien Danjou <julien@danjou.info>
SetFontPath doesn't encode the path strings correctly - it should be the
same as the GetFontPath reply.
Fixes#43602
Signed-off-by: Julien Danjou <julien@danjou.info>
ChangeHosts incorrectly encodes address as a string, not a binary blob. It
should be the same as in the HOSTS structure.
Fixes#43604
Signed-off-by: Julien Danjou <julien@danjou.info>
This matches the share_list parameter of CreateContext.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
In the GLX protocol specs, the various fields named 'reserved' are
just there to provide alignment padding.
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Peter Harris <pharris@opentext.com>
Signed-off-by: Peter Harris <pharris@opentext.com>
If we want to base other paths off of exec_prefix or libdir (like the
python path), we can't because the xcb-proto.pc.in file omits those
variables. Add them so people can leverage them in their own builds.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
The FakeInput request defined by the XTEST extension has two fields, rootX and
rootY, that are used to indicate relative or absolute pointer coordinates for
fake motion events. These fields are of type INT16, not CARD16. (They must be
signed to allow for negative relative motions and to align with the root-x and
root-y fields of MotionNotify events.)
Signed-off-by: Peter Harris <pharris@opentext.com>
RENDER 0.11 added PDF blend modes, but no one updated xcb/proto.
Signed-off-by: Uli Schlachter <psychon@znc.in>
Signed-off-by: Peter Harris <pharris@opentext.com>
-Add XML to define the fence sync objects and operations
added in XSync version 3.1.
-Bump sync module version to 3.1
Signed-off-by: James Jones <jajones@nvidia.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Julien Danjou <julien@danjou.info>
Python 3 has stricter syntax for relative imports. Use absolute imports to
ensure compatibility with all versions of Python. Also break cyclical module
import between state.py and matcher.py by deferring import.
Signed-off-by: David Coles <dcoles@gaikai.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
dst_x and dst_y are signed values (listed as INT16 in the spec).
Signed-off-by: Julien Cristau <jcristau@debian.org>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Julien Danjou <julien@danjou.info>
This reverts commit 9895cf562c.
This is intended to be a temporary revert. When we are ready to migrate
to switch, we should migrate all of the valueparams at the same time.
Signed-off-by: Peter Harris <pharris@opentext.com>
Adds support for optional bitcase names.
Partially reverts 76ca2c0b15 which appears to have added fixed_type to
xproto.xml by accident.
Signed-off-by: Peter Harris <pharris@opentext.com>