mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-06 01:30:13 +01:00
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
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue