mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
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:
committed by
Peter Hutterer
parent
fd8b9a6eae
commit
9db851c22d
@@ -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*/);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user