diff options
author | Adam Jackson <ajax@redhat.com> | 2011-01-05 12:04:19 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2011-01-06 14:58:17 -0500 |
commit | e65c3f8bcc86845f21ac575e2bfb4b21b67d5ebf (patch) | |
tree | ebd719fff54ac53cf810f9ca515b778d5b444617 /include/scrnintstr.h | |
parent | 6358a60065eef167d4e5f4afd981ff26deeba80d (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>
Diffstat (limited to 'include/scrnintstr.h')
-rw-r--r-- | include/scrnintstr.h | 4 |
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; |