mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-03 14:48:03 +02:00
Xi: take XI2 requests into account when checking opcodes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
c94ea5bc05
commit
c11ef87931
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue