dix: make SERVER_BIT define private

Not used by any external drivers, so no need to keep it exported.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-03-06 16:41:56 +01:00
parent 1ae30998d5
commit 706d3336ec
2 changed files with 6 additions and 6 deletions

View File

@ -10,6 +10,12 @@
#define SameClient(obj,client) \ #define SameClient(obj,client) \
(CLIENT_BITS((obj)->resource) == (client)->clientAsMask) (CLIENT_BITS((obj)->resource) == (client)->clientAsMask)
/*
* 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 */
/* /*
* @brief retrieve client that owns given window * @brief retrieve client that owns given window
* *

View File

@ -110,12 +110,6 @@ extern _X_EXPORT unsigned int ResourceClientBits(void);
/* extract the client mask from an XID */ /* extract the client mask from an XID */
#define CLIENT_BITS(id) ((id) & RESOURCE_CLIENT_MASK) #define CLIENT_BITS(id) ((id) & RESOURCE_CLIENT_MASK)
/*
* 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 #ifdef INVALID
#undef INVALID /* needed on HP/UX */ #undef INVALID /* needed on HP/UX */
#endif #endif