diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-12 22:16:14 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-04-19 22:28:11 +1000 |
commit | c11ef87931f920ba782ba4e9b47d9c31ad7c1cf7 (patch) | |
tree | e8f57eccf0301c0eed880666f80bb826a0aa024a /Xi | |
parent | c94ea5bc055e4efc323e84b7a8266e8b8a4af48e (diff) |
Xi: take XI2 requests into account when checking opcodes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi')
-rw-r--r-- | Xi/extinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/extinit.c b/Xi/extinit.c index bedd75014..9b1310bb7 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -391,7 +391,7 @@ static int ProcIDispatch(ClientPtr client) { REQUEST(xReq); - if (stuff->data > IREQUESTS || !ProcIVector[stuff->data]) + if (stuff->data > (IREQUESTS + XI2REQUESTS) || !ProcIVector[stuff->data]) return BadRequest; return (*ProcIVector[stuff->data])(client); |