From b9676a49e5a29d619bcd8402e4541d7749197922 Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Fri, 2 May 2014 19:27:52 +0000 Subject: Update to xserver 1.15.1. Tested by at least ajacoutot@, dcoppa@ & jasper@ --- xserver/mi/misprite.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'xserver/mi/misprite.c') diff --git a/xserver/mi/misprite.c b/xserver/mi/misprite.c index 97bbf8ef5..85ca022ed 100644 --- a/xserver/mi/misprite.c +++ b/xserver/mi/misprite.c @@ -86,10 +86,6 @@ typedef struct { /* os layer procedures */ ScreenBlockHandlerProcPtr BlockHandler; - /* device cursor procedures */ - DeviceCursorInitializeProcPtr DeviceCursorInitialize; - DeviceCursorCleanupProcPtr DeviceCursorCleanup; - xColorItem colors[2]; ColormapPtr pInstalledMap; ColormapPtr pColormap; @@ -150,8 +146,7 @@ static void miSpriteDisableDamage(ScreenPtr pScreen, miSpriteScreenPtr pScreenPriv) { if (pScreenPriv->damageRegistered) { - DamageUnregister(&(pScreen->GetScreenPixmap(pScreen)->drawable), - pScreenPriv->pDamage); + DamageUnregister(pScreenPriv->pDamage); pScreenPriv->damageRegistered = 0; } } @@ -329,9 +324,6 @@ miSpriteInitialize(ScreenPtr pScreen, miPointerScreenFuncPtr screenFuncs) pScreenPriv->BlockHandler = NULL; - pScreenPriv->DeviceCursorInitialize = pScreen->DeviceCursorInitialize; - pScreenPriv->DeviceCursorCleanup = pScreen->DeviceCursorCleanup; - pScreenPriv->pInstalledMap = NULL; pScreenPriv->pColormap = NULL; pScreenPriv->colors[SOURCE_COLOR].red = 0; -- cgit v1.2.3