Xi: XISelectEvents needs to be at least size 3, not exactly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
f3c26034ec
commit
cfeb65ac45
|
@ -45,7 +45,7 @@ SProcXISelectEvent(ClientPtr client)
|
||||||
|
|
||||||
REQUEST(xXISelectEventsReq);
|
REQUEST(xXISelectEventsReq);
|
||||||
swaps(&stuff->length, n);
|
swaps(&stuff->length, n);
|
||||||
REQUEST_SIZE_MATCH(xXISelectEventsReq);
|
REQUEST_AT_LEAST_SIZE(xXISelectEventsReq);
|
||||||
swapl(&stuff->window, n);
|
swapl(&stuff->window, n);
|
||||||
swaps(&stuff->num_masks, n);
|
swaps(&stuff->num_masks, n);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue