summaryrefslogtreecommitdiff
path: root/include/dixstruct.h
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-03-30 15:18:30 -0400
committerAdam Jackson <ajax@redhat.com>2009-03-31 15:00:26 -0400
commit252ec504817e05b185e4896a2d899e9c00b8aeef (patch)
treee920aca172d67ecd898d5820a37ea21bb97f87d7 /include/dixstruct.h
parent0b6e14d46feaf8c46fd3768ee5353b844391b79b (diff)
Document which bits of ClientRec are currently unused
Diffstat (limited to 'include/dixstruct.h')
-rw-r--r--include/dixstruct.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/include/dixstruct.h b/include/dixstruct.h
index 8bafcde0e..7335fad95 100644
--- a/include/dixstruct.h
+++ b/include/dixstruct.h
@@ -89,6 +89,7 @@ typedef struct _Window *SaveSetElt;
#define SaveSetAssignMap(ss,m)
#endif
+/* The unused_ members are ABI spacing. Please reuse them. */
typedef struct _Client {
int index;
Mask clientAsMask;
@@ -104,7 +105,7 @@ typedef struct _Client {
* killed */
SaveSetElt *saveSet;
int numSaved;
- pointer screenPrivate[MAXSCREENS];
+ void *unused_screenPrivate[16];
int (**requestVector) (
ClientPtr /* pClient */);
CARD32 req_len; /* length of current request */
@@ -118,15 +119,9 @@ typedef struct _Client {
unsigned short vMajor,vMinor;
KeyCode minKC,maxKC;
-#ifdef DEBUG
- unsigned char requestLog[MAX_REQUEST_LOG];
- int requestLogIndex;
-#endif
unsigned long replyBytesRemaining;
- void *appgroup; /* Can't remove, ABI */
- struct _FontResolution * (*fontResFunc) ( /* no need for font.h */
- ClientPtr /* pClient */,
- int * /* num */);
+ void *unused_appgroup;
+ void *unused_fontResFunc;
int smart_priority;
long smart_start_tick;
long smart_stop_tick;