Remove deprecated function miPointerPosition().
This commit is contained in:
parent
d1031a8972
commit
3164288b12
|
@ -243,7 +243,7 @@ xf86RandRSetConfig (ScreenPtr pScreen,
|
||||||
Bool useVirtual = FALSE;
|
Bool useVirtual = FALSE;
|
||||||
Rotation oldRotation = randrp->rotation;
|
Rotation oldRotation = randrp->rotation;
|
||||||
|
|
||||||
miPointerPosition (&px, &py);
|
miPointerGetPosition(inputInfo.pointermi, &px, &py);
|
||||||
for (mode = scrp->modes; ; mode = mode->next)
|
for (mode = scrp->modes; ; mode = mode->next)
|
||||||
{
|
{
|
||||||
if (mode->HDisplay == pSize->width &&
|
if (mode->HDisplay == pSize->width &&
|
||||||
|
|
|
@ -2301,7 +2301,7 @@ DRIAdjustFrame(int scrnIndex, int x, int y, int flags)
|
||||||
pScrn->frameY1 = pScrn->frameY0 + pDRIPriv->pSAREA->frame.height - 1;
|
pScrn->frameY1 = pScrn->frameY0 + pDRIPriv->pSAREA->frame.height - 1;
|
||||||
|
|
||||||
/* Fix up cursor */
|
/* Fix up cursor */
|
||||||
miPointerPosition(&px, &py);
|
miPointerGetPosition(inputInfo.pointer, &px, &py);
|
||||||
if (px < pScrn->frameX0) px = pScrn->frameX0;
|
if (px < pScrn->frameX0) px = pScrn->frameX0;
|
||||||
if (px > pScrn->frameX1) px = pScrn->frameX1;
|
if (px > pScrn->frameX1) px = pScrn->frameX1;
|
||||||
if (py < pScrn->frameY0) py = pScrn->frameY0;
|
if (py < pScrn->frameY0) py = pScrn->frameY0;
|
||||||
|
|
|
@ -160,7 +160,6 @@ _X_HIDDEN void *miLookupTab[] = {
|
||||||
SYMFUNC(miPutImage)
|
SYMFUNC(miPutImage)
|
||||||
SYMFUNC(miPushPixels)
|
SYMFUNC(miPushPixels)
|
||||||
SYMFUNC(miPointerInitialize)
|
SYMFUNC(miPointerInitialize)
|
||||||
SYMFUNC(miPointerPosition)
|
|
||||||
SYMFUNC(miRecolorCursor)
|
SYMFUNC(miRecolorCursor)
|
||||||
SYMFUNC(miPointerWarpCursor)
|
SYMFUNC(miPointerWarpCursor)
|
||||||
SYMFUNC(miDCInitialize)
|
SYMFUNC(miDCInitialize)
|
||||||
|
|
|
@ -559,12 +559,6 @@ miPointerSetPosition(DeviceIntPtr pDev, int *x, int *y, unsigned long time)
|
||||||
miPointerMoved(pDev, pScreen, *x, *y, time);
|
miPointerMoved(pDev, pScreen, *x, *y, time);
|
||||||
}
|
}
|
||||||
|
|
||||||
_X_EXPORT void
|
|
||||||
miPointerPosition (int *x, int *y)
|
|
||||||
{
|
|
||||||
miPointerGetPosition(inputInfo.pointer, x, y);
|
|
||||||
}
|
|
||||||
|
|
||||||
_X_EXPORT void
|
_X_EXPORT void
|
||||||
miPointerGetPosition(DeviceIntPtr pDev, int *x, int *y)
|
miPointerGetPosition(DeviceIntPtr pDev, int *x, int *y)
|
||||||
{
|
{
|
||||||
|
|
|
@ -134,12 +134,6 @@ extern void miPointerAbsoluteCursor(
|
||||||
unsigned long /*time*/
|
unsigned long /*time*/
|
||||||
) _X_DEPRECATED;
|
) _X_DEPRECATED;
|
||||||
|
|
||||||
/* Deprecated in favour of miPointerGetPosition. */
|
|
||||||
extern void miPointerPosition(
|
|
||||||
int * /*x*/,
|
|
||||||
int * /*y*/
|
|
||||||
) _X_DEPRECATED;
|
|
||||||
|
|
||||||
/* Deprecated in favour of miPointerSetScreen. */
|
/* Deprecated in favour of miPointerSetScreen. */
|
||||||
extern void miPointerSetNewScreen(
|
extern void miPointerSetNewScreen(
|
||||||
int, /*screen_no*/
|
int, /*screen_no*/
|
||||||
|
|
Loading…
Reference in New Issue