aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2012-06-29 13:33:58 -0700
committerUlrich Sibiller <uli42@gmx.de>2015-06-07 00:09:16 +0200
commit9e2ac01a4e9bd39e5127b35bc263d5544c6de7a2 (patch)
treef62c94653f5f1bb0462eac3c84c602e2ba68528e
parentbd5754f94a9b48c246d115eaed0d0e8bece95aca (diff)
downloadnx-libs-9e2ac01a4e9bd39e5127b35bc263d5544c6de7a2.tar.gz
nx-libs-9e2ac01a4e9bd39e5127b35bc263d5544c6de7a2.tar.bz2
nx-libs-9e2ac01a4e9bd39e5127b35bc263d5544c6de7a2.zip
Backport: randr: Fix REQUEST vs. REQUEST_SIZE_MATCH mismatch
ProcRRGetScreenSizeRange uses REQUEST(xRRGetScreenSizeRangeReq) followed by REQUEST_SIZE_MATCH(xRRGetScreenInfoReq). This happens to work out because both requests have the same size, so this is not a functional change, just a cosmetic one. Signed-off-by: Aaron Plattner <aplattner@nvidia.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--nx-X11/programs/Xserver/randr/rrscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/randr/rrscreen.c b/nx-X11/programs/Xserver/randr/rrscreen.c
index 011b97f3c..e0eb0769b 100644
--- a/nx-X11/programs/Xserver/randr/rrscreen.c
+++ b/nx-X11/programs/Xserver/randr/rrscreen.c
@@ -228,7 +228,7 @@ ProcRRGetScreenSizeRange (ClientPtr client)
rrScrPrivPtr pScrPriv;
int rc;
- REQUEST_SIZE_MATCH(xRRGetScreenInfoReq);
+ REQUEST_SIZE_MATCH(xRRGetScreenSizeRangeReq);
#ifndef NXAGENT_SERVER
rc = dixLookupWindow(&pWin, stuff->window, client, DixReadAccess);
#else