mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
Add an array of integers for use as per-screen cursor private keys.
Replaces the use of the screen pointer itself as the key, which was nice but won't work now that an array index is being stored.
This commit is contained in:
@@ -65,6 +65,8 @@ typedef struct _Cursor *CursorPtr;
|
||||
typedef struct _CursorMetric *CursorMetricPtr;
|
||||
|
||||
extern CursorPtr rootCursor;
|
||||
extern int cursorScreenDevPriv[MAXSCREENS];
|
||||
#define CursorScreenKey(pScreen) (cursorScreenDevPriv + (pScreen)->myNum)
|
||||
|
||||
extern int FreeCursor(
|
||||
pointer /*pCurs*/,
|
||||
|
||||
Reference in New Issue
Block a user