diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2012-06-29 13:33:58 -0700 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2015-06-07 00:09:16 +0200 |
commit | 9e2ac01a4e9bd39e5127b35bc263d5544c6de7a2 (patch) | |
tree | f62c94653f5f1bb0462eac3c84c602e2ba68528e /nx-X11/programs/Xserver | |
parent | bd5754f94a9b48c246d115eaed0d0e8bece95aca (diff) | |
download | nx-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>
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r-- | nx-X11/programs/Xserver/randr/rrscreen.c | 2 |
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 |