[PATCH xf86-video-vmware] Use dixLookupWindow instead of LookupWindow on Xorg 1.5 & later

Alan Coopersmith alan.coopersmith at oracle.com
Sat Oct 1 09:07:19 PDT 2011

On 09/27/11 07:31 PM, Alan Coopersmith wrote:
> +static inline int
> +dixLookupWindow(WindowPtr *pWin, XID id, ClientPtr client, Mask access)
> +{
> +    *pWin = LookupWindow(stuff->window, client);

Oops, just noticed that should be LookupWindow(id, client); since the caller
has "stuff" and passes stuff->window there.

(I did mention not even testing it built on the pre-Xorg-1.5 versions that
  only have the old API, right?)

	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System

More information about the xorg-devel mailing list