Commit 4d649d51 authored by Keith Packard's avatar Keith Packard Committed by Adam Jackson

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's avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
parent 3f9015b6
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment