present: cap the version returned to the client

Graphics / X.Org / X.Org Server - Emil Velikov [collabora.com] - 19 March 2018 19:46 EDT

As per the protocol, the server should not return version greater than the one supported by the client.

Add a spec quote and tweak the numbers accordingly.

Fixes: 5c5c1b77982 ("present: Add Present extension") Cc: Thierry Reding Cc: Daniel Stone Cc: Keith Packard

6a5d51e08 present: cap the version returned to the client
present/present_request.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

Upstream: cgit.freedesktop.org


  • Share