diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-23 11:37:01 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-23 11:37:01 +0100 |
commit | 6ff612955a1a8591bf21f6aa56e7b6ebd8e2db48 (patch) | |
tree | 5a04e9af78e2499c6af1b6277e54b8343122567d /src/dummy_cursor.c | |
parent | 20fcd59d3f8d7393586d8b64bfac18adede726ca (diff) |
dummy: convert to new scrn conversion APIs.
Generated from util/modular/x-driver-screen-scrn-conv.sh
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/dummy_cursor.c')
-rw-r--r-- | src/dummy_cursor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dummy_cursor.c b/src/dummy_cursor.c index aa6021f..07a89bf 100644 --- a/src/dummy_cursor.c +++ b/src/dummy_cursor.c @@ -62,7 +62,7 @@ dummyLoadCursorImage(ScrnInfoPtr pScrn, unsigned char *src) static Bool dummyUseHWCursor(ScreenPtr pScr, CursorPtr pCurs) { - DUMMYPtr dPtr = DUMMYPTR(xf86Screens[pScr->myNum]); + DUMMYPtr dPtr = DUMMYPTR(xf86ScreenToScrn(pScr)); return(!dPtr->swCursor); } @@ -77,7 +77,7 @@ dummyRealizeCursor(xf86CursorInfoPtr infoPtr, CursorPtr pCurs) Bool DUMMYCursorInit(ScreenPtr pScreen) { - DUMMYPtr dPtr = DUMMYPTR(xf86Screens[pScreen->myNum]); + DUMMYPtr dPtr = DUMMYPTR(xf86ScreenToScrn(pScreen)); xf86CursorInfoPtr infoPtr; infoPtr = xf86CreateCursorInfoRec(); |