mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 00:38:00 +02:00
test: speed up the XISelectEvents test
It's fine to test up to 1000 masks but we don't need to test every single value. Let's increase by a "random" increment to make this test pass faster.
This commit is contained in:
parent
d0b0137a95
commit
9f3b64f3e6
1 changed files with 1 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ request_XISelectEvents_masks(xXISelectEventsReq * req)
|
|||
req->win = ROOT_WINDOW_ID;
|
||||
|
||||
/* if a clients submits more than 100 masks, consider it insane and untested */
|
||||
for (i = 1; i <= 1000; i++) {
|
||||
for (i = 1; i <= 1000; i += 33) {
|
||||
req->num_masks = i;
|
||||
mask->deviceid = XIAllDevices;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue