Reviewed-by: Eamon Walsh <[email protected]>

On 05/09/2010 01:56 AM, Jamey Sharp wrote:
> Otherwise we can't check that the XIDs this GC is being initialized with
> are accessible to this client.
>
> Signed-off-by: Jamey Sharp <[email protected]>
> Cc: Eamon Walsh <[email protected]>
> ---
>  dix/gc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/dix/gc.c b/dix/gc.c
> index 86b1b67..bf21a70 100644
> --- a/dix/gc.c
> +++ b/dix/gc.c
> @@ -538,7 +538,7 @@ CreateGC(DrawablePtr pDrawable, BITS32 mask, XID *pval, 
> int *pStatus,
>      if (!(*pGC->pScreen->CreateGC)(pGC))
>       *pStatus = BadAlloc;
>      else if (mask)
> -        *pStatus = ChangeGCXIDs(NullClient, pGC, mask, pval);
> +        *pStatus = ChangeGCXIDs(client, pGC, mask, pval);
>      else
>       *pStatus = Success;
>  
>   


-- 

Eamon Walsh 
National Security Agency

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to