mi: Remove miPointerRec from API
This moves the definition of miPointerRec from mipointrst.h to mipointer.c so that it is no longer visible in the API, allowing it to be changed while the API/ABI is frozen. Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
3f9015b6dc
commit
4d649d5177
|
@ -65,6 +65,18 @@ in this Software without prior written authorization from The Open Group.
|
|||
#include "inpututils.h"
|
||||
#include "eventstr.h"
|
||||
|
||||
typedef struct {
|
||||
ScreenPtr pScreen; /* current screen */
|
||||
ScreenPtr pSpriteScreen; /* screen containing current sprite */
|
||||
CursorPtr pCursor; /* current cursor */
|
||||
CursorPtr pSpriteCursor; /* cursor on screen */
|
||||
BoxRec limits; /* current constraints */
|
||||
Bool confined; /* pointer can't change screens */
|
||||
int x, y; /* hot spot location */
|
||||
int devx, devy; /* sprite position */
|
||||
Bool generateEvent; /* generate an event during warping? */
|
||||
} miPointerRec, *miPointerPtr;
|
||||
|
||||
DevPrivateKeyRec miPointerScreenKeyRec;
|
||||
|
||||
#define GetScreenPrivate(s) ((miPointerScreenPtr) \
|
||||
|
|
|
@ -34,18 +34,6 @@ in this Software without prior written authorization from The Open Group.
|
|||
#include "mipointer.h"
|
||||
#include "scrnintstr.h"
|
||||
|
||||
typedef struct {
|
||||
ScreenPtr pScreen; /* current screen */
|
||||
ScreenPtr pSpriteScreen; /* screen containing current sprite */
|
||||
CursorPtr pCursor; /* current cursor */
|
||||
CursorPtr pSpriteCursor; /* cursor on screen */
|
||||
BoxRec limits; /* current constraints */
|
||||
Bool confined; /* pointer can't change screens */
|
||||
int x, y; /* hot spot location */
|
||||
int devx, devy; /* sprite position */
|
||||
Bool generateEvent; /* generate an event during warping? */
|
||||
} miPointerRec, *miPointerPtr;
|
||||
|
||||
typedef struct {
|
||||
miPointerSpriteFuncPtr spriteFuncs; /* sprite-specific methods */
|
||||
miPointerScreenFuncPtr screenFuncs; /* screen-specific methods */
|
||||
|
|
Loading…
Reference in New Issue