mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 01:48:02 +02:00
test: reset the client before checking the swapped version
As of 2c23ef83b0, the server returns BadValue
for the same client with multiple versions. Avoid this by resetting the
client before we issue the same request as a fake swap client.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Tested-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
parent
17f33ca0e5
commit
641a1b9363
1 changed files with 1 additions and 0 deletions
|
|
@ -115,6 +115,7 @@ request_XIQueryVersion(int smaj, int smin, int cmaj, int cmin, int error)
|
|||
rc = ProcXIQueryVersion(&client);
|
||||
assert(rc == error);
|
||||
|
||||
client = init_client(request.length, &request);
|
||||
client.swapped = TRUE;
|
||||
|
||||
swaps(&request.length);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue