diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-08-27 19:27:13 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-08-27 19:27:13 -0400 |
commit | ec7907f8fa04dcff2649cc4846975844314f737e (patch) | |
tree | 29236baa9e98868c99fe5a18cb8aad0446d8a93c /include | |
parent | 86898491497a43814caf42013651086e62fe6162 (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/cursor.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/cursor.h b/include/cursor.h index f86d94ca5..93e264dd2 100644 --- a/include/cursor.h +++ b/include/cursor.h @@ -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*/, |