[PATCH 03/20] mi: remove if 0 code.
Peter Hutterer
peter.hutterer at who-t.net
Thu Feb 17 19:52:10 PST 2011
Note sure why this is in if 0 but it's been that way since 2007.
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
mi/mipointer.c | 25 -------------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diff --git a/mi/mipointer.c b/mi/mipointer.c
index a3c26d03..124f9de 100644
--- a/mi/mipointer.c
+++ b/mi/mipointer.c
@@ -158,33 +158,8 @@ miPointerInitialize (ScreenPtr pScreen,
static Bool
miPointerCloseScreen (int index, ScreenPtr pScreen)
{
-#if 0
- miPointerPtr pPointer;
- DeviceIntPtr pDev;
-#endif
-
SetupScreen(pScreen);
-#if 0
- for (pDev = inputInfo.devices; pDev; pDev = pDev->next)
- {
- if (DevHasCursor(pDev))
- {
- pPointer = MIPOINTER(pDev);
-
- if (pScreen == pPointer->pScreen)
- pPointer->pScreen = 0;
- if (pScreen == pPointer->pSpriteScreen)
- pPointer->pSpriteScreen = 0;
- }
- }
-
- if (MIPOINTER(inputInfo.pointer)->pScreen == pScreen)
- MIPOINTER(inputInfo.pointer)->pScreen = 0;
- if (MIPOINTER(inputInfo.pointer)->pSpriteScreen == pScreen)
- MIPOINTER(inputInfo.pointer)->pSpriteScreen = 0;
-#endif
-
pScreen->CloseScreen = pScreenPriv->CloseScreen;
free((pointer) pScreenPriv);
FreeEventList(events, GetMaximumEventsNum());
--
1.7.4
More information about the xorg-devel
mailing list