summaryrefslogtreecommitdiff
path: root/xfixes/xfixes.c
diff options
context:
space:
mode:
Diffstat (limited to 'xfixes/xfixes.c')
-rwxr-xr-xxfixes/xfixes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfixes/xfixes.c b/xfixes/xfixes.c
index 9364309f4..a0e656dd8 100755
--- a/xfixes/xfixes.c
+++ b/xfixes/xfixes.c
@@ -143,7 +143,7 @@ ProcXFixesDispatch (ClientPtr client)
REQUEST(xXFixesReq);
XFixesClientPtr pXFixesClient = GetXFixesClient (client);
- if (pXFixesClient->major_version > NUM_VERSION_REQUESTS)
+ if (pXFixesClient->major_version >= NUM_VERSION_REQUESTS)
return BadRequest;
if (stuff->xfixesReqType > version_requests[pXFixesClient->major_version])
return BadRequest;