dix: moved sprite from static to be pointer of type SpritePtr

added SpriteRecs for MPX devices
	changed sprite dependency and added MPX functionality to parts
	of events.c (ConfineToShape, PostNewCursor, XineramaCheckMotion,
	CheckMotion, XineramaChangeToCursor, ChangeToCursor, CheckPhysLimits,
	PointerConfinedToScreen)
	added DeviceIntRec param to GetSpritePosition(). This required some
	minor changes in ddx, xtest, xkb and xfixes.

mi:	changed miPointer to pointer instead of static struct.
This commit is contained in:
Peter Hutterer
2006-11-21 18:15:04 +10:30
committed by Peter Hutterer
parent fd8b9a6eae
commit 9db851c22d
12 changed files with 658 additions and 501 deletions

View File

@@ -59,6 +59,8 @@ SOFTWARE.
#define ARGB_CURSOR
#endif
struct _DeviceIntRec;
typedef struct _Cursor *CursorPtr;
typedef struct _CursorMetric *CursorMetricPtr;
@@ -133,9 +135,10 @@ extern void NewCurrentScreen(
int /*x*/,
int /*y*/);
extern Bool PointerConfinedToScreen(void);
extern Bool PointerConfinedToScreen(struct _DeviceIntRec* /* pDev */);
extern void GetSpritePosition(
struct _DeviceIntRec* /* pDev */,
int * /*px*/,
int * /*py*/);