misprite: Remove some dead cache variables
Unused since Keith ported misprite to damage in '04. Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
d0675e96f1
commit
57c223002c
|
@ -59,8 +59,6 @@ typedef struct {
|
||||||
BoxRec saved; /* saved area from the screen */
|
BoxRec saved; /* saved area from the screen */
|
||||||
Bool isUp; /* cursor in frame buffer */
|
Bool isUp; /* cursor in frame buffer */
|
||||||
Bool shouldBeUp; /* cursor should be displayed */
|
Bool shouldBeUp; /* cursor should be displayed */
|
||||||
WindowPtr pCacheWin; /* window the cursor last seen in */
|
|
||||||
Bool isInCacheWin;
|
|
||||||
Bool checkPixels; /* check colormap collision */
|
Bool checkPixels; /* check colormap collision */
|
||||||
ScreenPtr pScreen;
|
ScreenPtr pScreen;
|
||||||
} miCursorInfoRec, *miCursorInfoPtr;
|
} miCursorInfoRec, *miCursorInfoPtr;
|
||||||
|
@ -750,7 +748,6 @@ miSpriteSetCursor(DeviceIntPtr pDev, ScreenPtr pScreen,
|
||||||
}
|
}
|
||||||
pPointer->x = x;
|
pPointer->x = x;
|
||||||
pPointer->y = y;
|
pPointer->y = y;
|
||||||
pPointer->pCacheWin = NullWindow;
|
|
||||||
if (pPointer->checkPixels || pPointer->pCursor != pCursor) {
|
if (pPointer->checkPixels || pPointer->pCursor != pCursor) {
|
||||||
pPointer->pCursor = pCursor;
|
pPointer->pCursor = pCursor;
|
||||||
miSpriteFindColors(pPointer, pScreen);
|
miSpriteFindColors(pPointer, pScreen);
|
||||||
|
@ -797,8 +794,6 @@ miSpriteDeviceCursorInitialize(DeviceIntPtr pDev, ScreenPtr pScreen)
|
||||||
pCursorInfo->y = 0;
|
pCursorInfo->y = 0;
|
||||||
pCursorInfo->isUp = FALSE;
|
pCursorInfo->isUp = FALSE;
|
||||||
pCursorInfo->shouldBeUp = FALSE;
|
pCursorInfo->shouldBeUp = FALSE;
|
||||||
pCursorInfo->pCacheWin = NullWindow;
|
|
||||||
pCursorInfo->isInCacheWin = FALSE;
|
|
||||||
pCursorInfo->checkPixels = TRUE;
|
pCursorInfo->checkPixels = TRUE;
|
||||||
pCursorInfo->pScreen = FALSE;
|
pCursorInfo->pScreen = FALSE;
|
||||||
}
|
}
|
||||||
|
@ -837,7 +832,6 @@ miSpriteRemoveCursor(DeviceIntPtr pDev, ScreenPtr pScreen)
|
||||||
|
|
||||||
miSpriteIsDown(pCursorInfo);
|
miSpriteIsDown(pCursorInfo);
|
||||||
miSpriteRegisterBlockHandler(pScreen, pScreenPriv);
|
miSpriteRegisterBlockHandler(pScreen, pScreenPriv);
|
||||||
pCursorInfo->pCacheWin = NullWindow;
|
|
||||||
miSpriteDisableDamage(pScreen, pScreenPriv);
|
miSpriteDisableDamage(pScreen, pScreenPriv);
|
||||||
if (!miDCRestoreUnderCursor(pDev,
|
if (!miDCRestoreUnderCursor(pDev,
|
||||||
pScreen,
|
pScreen,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user