summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2011-01-05 12:04:19 -0500
committerAdam Jackson <ajax@redhat.com>2011-01-06 14:58:17 -0500
commite65c3f8bcc86845f21ac575e2bfb4b21b67d5ebf (patch)
treeebd719fff54ac53cf810f9ca515b778d5b444617
parent6358a60065eef167d4e5f4afd981ff26deeba80d (diff)
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 <daniel@fooishbar.org> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--include/scrnintstr.h4
1 files changed, 4 insertions, 0 deletions
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;