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 */,
|
DeviceIntPtr /* pDev */,
|
||||||
ScreenPtr /* pScreen */);
|
ScreenPtr /* pScreen */);
|
||||||
|
|
||||||
|
typedef void (*ConstrainCursorHarderProcPtr)(
|
||||||
|
DeviceIntPtr, ScreenPtr, int *, int *);
|
||||||
|
|
||||||
typedef struct _Screen {
|
typedef struct _Screen {
|
||||||
int myNum; /* index of this instance in Screens[] */
|
int myNum; /* index of this instance in Screens[] */
|
||||||
ATOM id;
|
ATOM id;
|
||||||
|
@ -469,6 +472,7 @@ typedef struct _Screen {
|
||||||
/* Cursor Procedures */
|
/* Cursor Procedures */
|
||||||
|
|
||||||
ConstrainCursorProcPtr ConstrainCursor;
|
ConstrainCursorProcPtr ConstrainCursor;
|
||||||
|
ConstrainCursorHarderProcPtr ConstrainCursorHarder;
|
||||||
CursorLimitsProcPtr CursorLimits;
|
CursorLimitsProcPtr CursorLimits;
|
||||||
DisplayCursorProcPtr DisplayCursor;
|
DisplayCursorProcPtr DisplayCursor;
|
||||||
RealizeCursorProcPtr RealizeCursor;
|
RealizeCursorProcPtr RealizeCursor;
|
||||||
|
|
Loading…
Reference in New Issue