From 1c7568b8a1417257fa67c7fca69aa253099b9461 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 23 Nov 2006 17:15:14 +1030 Subject: mi: closing memory leak, miPointer is freed in miPointerCloseScreen bugfix: uninitialized pPointer in miPointerGetPosition ifndef MPX adding DeviceIntPtr parameter to ScreenRec's cursor functions. cleanup of miPointer code to use same scheme in each function dix: MPHasCursor() function determines checking whether to invoke cursor rendering. animcur: adding DeviceIntPtr parameter to cursor functions but animcur relies on the core pointer right now. xfixes: adding DeviceIntPtr parameter to cursor functions but xfixes relies on the core pointer right now. rac: adding DeviceIntPtr parameter to cursor functions but RAC relies on the core pointer right now. ramdac: adding DeviceIntPtr parameter to cursor functions but ramdac relies on the core pointer right now. --- mi/mipointer.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mi/mipointer.h') diff --git a/mi/mipointer.h b/mi/mipointer.h index 1b01ba19b..85c5c8b2e 100644 --- a/mi/mipointer.h +++ b/mi/mipointer.h @@ -72,6 +72,7 @@ typedef struct _miPointerScreenFuncRec { int /* entering */ ); void (*WarpCursor)( + DeviceIntPtr /*pDev*/, ScreenPtr /* pScr */, int /* x */, int /* y */ @@ -99,6 +100,7 @@ extern Bool miPointerInitialize( ); extern void miPointerWarpCursor( + DeviceIntPtr /*pDev*/, ScreenPtr /*pScreen*/, int /*x*/, int /*y*/ -- cgit v1.2.3