include: document the meaning of SERVER_BIT

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-04-17 14:50:56 +02:00
parent 7501ca09b9
commit 69078b1d15

View File

@ -112,6 +112,11 @@ extern _X_EXPORT unsigned int ResourceClientBits(void);
#define CLIENT_BITS(id) ((id) & RESOURCE_CLIENT_MASK)
/* extract the client id from an XID */
#define CLIENT_ID(id) ((int)(CLIENT_BITS(id) >> CLIENTOFFSET))
/*
* Resource IDs having that bit set still belonging to some client,
* but are server-internal, thus invisible to clients.
*/
#define SERVER_BIT (Mask)0x40000000 /* use illegal bit */
#ifdef INVALID