diff --git a/dix/resource_priv.h b/dix/resource_priv.h index d118d13fd..4fb85afb4 100644 --- a/dix/resource_priv.h +++ b/dix/resource_priv.h @@ -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 * diff --git a/include/resource.h b/include/resource.h index b91d94e7e..4dc7893ae 100644 --- a/include/resource.h +++ b/include/resource.h @@ -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