Commit 37297735 authored by George Staplin's avatar George Staplin Committed by Jeremy Huddleston

XQuartz: Fix the new ProcAppleDRIDestroyPixmap code REQUEST_SIZE_MATCH.

It had a copy and paste mistake that I didn't notice. :/
It was using the CreatePixmapReq.

Also add a missing B16 to the end of the length for the DestroyPixmapReq struct.

Now the AppleDRIDestroyPixmap request seem to work.
(cherry picked from commit 295fe25b)
parent 225853d5
......@@ -331,7 +331,7 @@ ProcAppleDRIDestroyPixmap(ClientPtr client)
DrawablePtr pDrawable;
int rc;
rc = dixLookupDrawable(&pDrawable, stuff->drawable, client, 0,
......@@ -226,7 +226,7 @@ typedef struct {
typedef struct {
CARD8 reqType; /*1*/
CARD8 driReqType; /*2*/
CARD16 length; /*4*/
CARD16 length B16; /*4*/
CARD32 drawable B32; /*8*/
} xAppleDRIDestroyPixmapReq;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment