diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-06-03 15:13:12 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-06-07 09:22:58 +1000 |
commit | bef7648827a0696debdd629472a45508a30144b1 (patch) | |
tree | 571c976eb0acbe617d580bc55db68168b21282da /XIproto.h | |
parent | b1149ab782619eaeadf70affd94239184e082d03 (diff) |
Add XI2-specific defines for grab and property requests
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.
Clients must use the core defines None and CurrentTime where applicable.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
Diffstat (limited to 'XIproto.h')
0 files changed, 0 insertions, 0 deletions