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 committed by Enrico Weigelt, metux IT consult .
parent 4ac617e268
commit 24cfc882cd
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,8 @@
#define SameClient(obj,client) \
(CLIENT_BITS((obj)->resource) == (client)->clientAsMask)
#define SERVER_BIT (Mask)0x40000000 /* use illegal bit */
/*
* @brief retrieve client that owns given window
*

View File

@ -109,7 +109,6 @@ extern _X_EXPORT unsigned int ResourceClientBits(void);
#define RESOURCE_CLIENT_MASK (((1 << ResourceClientBits()) - 1) << CLIENTOFFSET)
/* extract the client mask from an XID */
#define CLIENT_BITS(id) ((id) & RESOURCE_CLIENT_MASK)
#define SERVER_BIT (Mask)0x40000000 /* use illegal bit */
#ifdef INVALID
#undef INVALID /* needed on HP/UX */