diff options
author | Daniel Stone <daniel@fooishbar.org> | 2008-04-25 18:45:37 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2009-01-22 15:08:56 +1100 |
commit | cc5c6d628aa0dc87c2cc9d063972e09ad747a596 (patch) | |
tree | fecb1859e652b7f15751a40aa1b420c949b4e009 /xkb/xkbEvents.c | |
parent | 32db27a7f867b503c2840ca7b815e96d10be9210 (diff) |
XKB: Remove unsupported Xi operation flags
We support every XKB operation on Xi devices, so always report that we
support everything, and that nothing is ever unsupported.
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'xkb/xkbEvents.c')
-rw-r--r-- | xkb/xkbEvents.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/xkb/xkbEvents.c b/xkb/xkbEvents.c index 96e527baa..ed80b047c 100644 --- a/xkb/xkbEvents.c +++ b/xkb/xkbEvents.c @@ -667,7 +667,7 @@ int initialized; XkbInterestPtr interest; Time time = 0; CARD32 defined, state; -CARD16 reason, supported = 0; +CARD16 reason; interest = dev->xkb_interest; if (!interest) @@ -688,7 +688,6 @@ CARD16 reason, supported = 0; pEv->deviceID = dev->id; pEv->sequenceNumber = interest->client->sequence; pEv->time = time = GetTimeInMillis(); - supported= pEv->supported; initialized= 1; } else { @@ -697,14 +696,7 @@ CARD16 reason, supported = 0; pEv->ledsDefined= defined; pEv->ledState= state; pEv->reason= reason; - pEv->supported= supported; - } - if (client!=interest->client) { - /* only report UnsupportedFeature to the client that */ - /* issued the failing request */ - pEv->reason&= ~XkbXI_UnsupportedFeatureMask; - if ((interest->extDevNotifyMask&reason)==0) - continue; + pEv->supported= XkbXI_AllFeaturesMask; } if ( interest->client->swapped ) { register int n; |