[PATCH 14/15] xf86: migrate PointerMoved from index to ScrnInfoPtr (ABI/API)

Alan Coopersmith alan.coopersmith at oracle.com
Tue Apr 10 14:05:20 PDT 2012


On 04/10/12 07:47 AM, Dave Airlie wrote:
> -    ScreenPtr pScreen = screenInfo.screens[scrnIndex];
> -    ScrnInfoPtr pScrn = XF86SCRNINFO(pScreen);
> +    ScreenPtr pScreen = xf86ScrnToScreen(pScrn);

Should the remaining instances of XF86SCRNINFO be replaced?
It appears to be roughly equivalent to xf86ScreenToScrn, but
implemented via dixLookupPrivate instead of via an array index lookup.

-- 
	-Alan Coopersmith-              alan.coopersmith at oracle.com
	 Oracle Solaris Engineering - http://blogs.oracle.com/alanc


More information about the xorg-devel mailing list