diff options
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h index cc5dc09f..9658e029 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -500,6 +500,13 @@ struct radeon_client_priv { uint_fast32_t needs_flush; }; +struct radeon_device_priv { + CursorPtr cursor; + Bool sprite_visible; +}; + +extern DevScreenPrivateKeyRec radeon_device_private_key; + typedef struct { EntityInfoPtr pEnt; pciVideoPtr PciInfo; @@ -550,6 +557,12 @@ typedef struct { CreateScreenResourcesProcPtr CreateScreenResources; CreateWindowProcPtr CreateWindow; WindowExposuresProcPtr WindowExposures; + void (*SetCursor) (DeviceIntPtr pDev, ScreenPtr pScreen, + CursorPtr pCursor, int x, int y); + void (*MoveCursor) (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y); + + /* Number of SW cursors currently visible on this screen */ + int sprites_visible; Bool IsSecondary; |