mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 10:14:52 +00:00
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:
@@ -10,6 +10,12 @@
|
||||
#define SameClient(obj,client) \
|
||||
(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
|
||||
*
|
||||
|
||||
@@ -110,12 +110,6 @@ extern _X_EXPORT unsigned int ResourceClientBits(void);
|
||||
/* extract the client mask from an XID */
|
||||
#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
|
||||
#undef INVALID /* needed on HP/UX */
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user