Remove deprecated function miPointerPosition().

This commit is contained in:
Tiago Vignatti 2008-07-04 03:55:59 -03:00
parent d1031a8972
commit 3164288b12
5 changed files with 2 additions and 15 deletions

View File

@ -243,7 +243,7 @@ xf86RandRSetConfig (ScreenPtr pScreen,
Bool useVirtual = FALSE;
Rotation oldRotation = randrp->rotation;
miPointerPosition (&px, &py);
miPointerGetPosition(inputInfo.pointermi, &px, &py);
for (mode = scrp->modes; ; mode = mode->next)
{
if (mode->HDisplay == pSize->width &&

View File

@ -2301,7 +2301,7 @@ DRIAdjustFrame(int scrnIndex, int x, int y, int flags)
pScrn->frameY1 = pScrn->frameY0 + pDRIPriv->pSAREA->frame.height - 1;
/* Fix up cursor */
miPointerPosition(&px, &py);
miPointerGetPosition(inputInfo.pointer, &px, &py);
if (px < pScrn->frameX0) px = pScrn->frameX0;
if (px > pScrn->frameX1) px = pScrn->frameX1;
if (py < pScrn->frameY0) py = pScrn->frameY0;

View File

@ -160,7 +160,6 @@ _X_HIDDEN void *miLookupTab[] = {
SYMFUNC(miPutImage)
SYMFUNC(miPushPixels)
SYMFUNC(miPointerInitialize)
SYMFUNC(miPointerPosition)
SYMFUNC(miRecolorCursor)
SYMFUNC(miPointerWarpCursor)
SYMFUNC(miDCInitialize)

View File

@ -559,12 +559,6 @@ miPointerSetPosition(DeviceIntPtr pDev, int *x, int *y, unsigned long time)
miPointerMoved(pDev, pScreen, *x, *y, time);
}
_X_EXPORT void
miPointerPosition (int *x, int *y)
{
miPointerGetPosition(inputInfo.pointer, x, y);
}
_X_EXPORT void
miPointerGetPosition(DeviceIntPtr pDev, int *x, int *y)
{

View File

@ -134,12 +134,6 @@ extern void miPointerAbsoluteCursor(
unsigned long /*time*/
) _X_DEPRECATED;
/* Deprecated in favour of miPointerGetPosition. */
extern void miPointerPosition(
int * /*x*/,
int * /*y*/
) _X_DEPRECATED;
/* Deprecated in favour of miPointerSetScreen. */
extern void miPointerSetNewScreen(
int, /*screen_no*/