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:
Keith Packard 2016-05-18 16:03:48 -05:00 committed by Adam Jackson
parent 3f9015b6dc
commit 4d649d5177
2 changed files with 12 additions and 12 deletions

View File

@ -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) \

View File

@ -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 */