[PATCH inputproto] XI 2.1: Add XI2-specific defines for grab and property requests

Daniel Stone daniel at fooishbar.org
Mon Jun 6 04:47:16 PDT 2011


On Fri, Jun 03, 2011 at 03:26:20PM +1000, Peter Hutterer wrote:
> XI 2.0 headers forced clients to mix XI2 specific constants with defines for
> core input. Most notable here are the grab code which required GrabModeAsync
> or GrabModeSync from core, but _not_ AnyModifier (XIAnymodifier !=
> AnyModifier). This is a hard-to-debug cause for bugs.
> 
> Add defines for grab modes, grab return codes and property modes as well as
> a define for the AnyPropertyType. These defines are identical to the ones
> defined in core but stop the use of input-related defines from either core
> or XI 1.x.

Neat.  For the series:
Reviewed-by: Daniel Stone <daniel at fooishbar.org>

Cheers,
Daniel


More information about the xorg-devel mailing list