summaryrefslogtreecommitdiff
path: root/Xi/xiselectev.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-07 16:52:31 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-08 14:33:44 +1000
commitbae070914fc27db122e6131ae4838559c4a72f65 (patch)
tree7e92d1103a2013b3b70fb6c4e916a6010fdc44d5 /Xi/xiselectev.c
parent83f32d3972b8bfb0a87069dfb3fcd64b6b7c6424 (diff)
input: update to inputproto 1.9.99.8 XI2 defines.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/xiselectev.c')
-rw-r--r--Xi/xiselectev.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Xi/xiselectev.c b/Xi/xiselectev.c
index 607b9b4d0..601dec3f9 100644
--- a/Xi/xiselectev.c
+++ b/Xi/xiselectev.c
@@ -82,7 +82,8 @@ ProcXISelectEvent(ClientPtr client)
num_masks = stuff->num_masks;
while(num_masks--)
{
- if (evmask->deviceid != AllDevices && evmask->deviceid != AllMasterDevices)
+ if (evmask->deviceid != XIAllDevices &&
+ evmask->deviceid != XIAllMasterDevices)
rc = dixLookupDevice(&dev, evmask->deviceid, client, DixReadAccess);
else {
/* XXX: XACE here? */
@@ -109,8 +110,8 @@ ProcXISelectEvent(ClientPtr client)
num_masks = stuff->num_masks;
while(num_masks--)
{
- if (evmask->deviceid == AllDevices ||
- evmask->deviceid == AllMasterDevices)
+ if (evmask->deviceid == XIAllDevices ||
+ evmask->deviceid == XIAllMasterDevices)
{
dummy.id = evmask->deviceid;
dev = &dummy;