From e65c3f8bcc86845f21ac575e2bfb4b21b67d5ebf Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 5 Jan 2011 12:04:19 -0500 Subject: [PATCH] dix: Add a Screen method for additional cursor confinement This just reserves the slot in the ABI. Confining cursors to CRTCs will come soon. v2: Just reserve the slot. Reviewed-by: Daniel Stone Signed-off-by: Adam Jackson --- include/scrnintstr.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/scrnintstr.h b/include/scrnintstr.h index 995232524..9f4fbf3df 100644 --- a/include/scrnintstr.h +++ b/include/scrnintstr.h @@ -403,6 +403,9 @@ typedef void (* DeviceCursorCleanupProcPtr)( DeviceIntPtr /* pDev */, ScreenPtr /* pScreen */); +typedef void (*ConstrainCursorHarderProcPtr)( + DeviceIntPtr, ScreenPtr, int *, int *); + typedef struct _Screen { int myNum; /* index of this instance in Screens[] */ ATOM id; @@ -469,6 +472,7 @@ typedef struct _Screen { /* Cursor Procedures */ ConstrainCursorProcPtr ConstrainCursor; + ConstrainCursorHarderProcPtr ConstrainCursorHarder; CursorLimitsProcPtr CursorLimits; DisplayCursorProcPtr DisplayCursor; RealizeCursorProcPtr RealizeCursor;