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

2012-04-10 Thread Dave Airlie
On Tue, Apr 10, 2012 at 10:05 PM, Alan Coopersmith wrote: > 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

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

2012-04-10 Thread Alan Coopersmith
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 t

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

2012-04-10 Thread Dave Airlie
This migrates PointerMoved from an index to ScrnInfoPtr. Signed-off-by: Dave Airlie --- hw/xfree86/common/xf86Cursor.c |7 +++ hw/xfree86/common/xf86str.h|2 +- hw/xfree86/modes/xf86RandR12.c |5 ++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/hw/xfree86/