mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
Prepare for array-index based devPrivates.
TODO: static indices can be made just an int; some indices can be combined.
This commit is contained in:
parent
ec7907f8fa
commit
ebea78cdba
78 changed files with 287 additions and 146 deletions
|
|
@ -55,13 +55,14 @@ in this Software without prior written authorization from The Open Group.
|
|||
# include "inputstr.h" /* for MAX_DEVICES */
|
||||
|
||||
/* per-screen private data */
|
||||
|
||||
static DevPrivateKey miDCScreenKey = &miDCScreenKey;
|
||||
static int miDCScreenKeyIndex;
|
||||
static DevPrivateKey miDCScreenKey = &miDCScreenKeyIndex;
|
||||
|
||||
static Bool miDCCloseScreen(int index, ScreenPtr pScreen);
|
||||
|
||||
/* per device private data */
|
||||
static DevPrivateKey miDCSpriteKey = &miDCSpriteKey;
|
||||
static int miDCSpriteKeyIndex;
|
||||
static DevPrivateKey miDCSpriteKey = &miDCSpriteKeyIndex;
|
||||
|
||||
typedef struct {
|
||||
GCPtr pSourceGC, pMaskGC;
|
||||
|
|
|
|||
Loading…
Reference in a new issue