mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +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,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
|
||||
*
|
||||
|
||||
@@ -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 */
|
||||
|
||||
#define BAD_RESOURCE 0xe0000000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user