diff options
| author | Aaron Plattner <aplattner@nvidia.com> | 2012-06-29 13:33:58 -0700 |
|---|---|---|
| committer | Jeremy Huddleston Sequoia <jeremyhu@apple.com> | 2012-08-01 17:32:49 -0700 |
| commit | 465a7a253ae36a35d2d85a990c6c50c2a26a861e (patch) | |
| tree | a805df97e8d2bced02f3d988fa2465b72169b364 | |
| parent | 6f4b6bca4c8f823adf83519b40f02b39a0c271ed (diff) | |
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>
(cherry picked from commit 212b9803238d2de2e77cbe5de62d3f616ae50daf)
| -rw-r--r-- | randr/rrscreen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/randr/rrscreen.c b/randr/rrscreen.c index 55110e088..c564d1f96 100644 --- a/randr/rrscreen.c +++ b/randr/rrscreen.c @@ -195,7 +195,7 @@ ProcRRGetScreenSizeRange(ClientPtr client) rrScrPrivPtr pScrPriv; int rc; - REQUEST_SIZE_MATCH(xRRGetScreenInfoReq); + REQUEST_SIZE_MATCH(xRRGetScreenSizeRangeReq); rc = dixLookupWindow(&pWin, stuff->window, client, DixGetAttrAccess); if (rc != Success) return rc; |
