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:
parent
6358a60065
commit
e65c3f8bcc
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue