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>
This commit is contained in:
Adam Jackson 2011-01-05 12:04:19 -05:00
parent 6358a60065
commit e65c3f8bcc

View File

@ -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;