dix: unexport and document ClientIsAsleep()

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-05-23 10:42:05 +02:00
parent 2e0cde7b56
commit 689de526a4
2 changed files with 9 additions and 2 deletions

View File

@ -365,4 +365,13 @@ int ClientSignalAll(ClientPtr pClient, ClientSleepProcPtr func, void *closure)
void ClientWakeup(ClientPtr pclient)
_X_ATTRIBUTE_NONNULL_ARG(1);
/*
* @brief check whether client is asleep
*
* @param pClient pointer to client structure
* @return TRUE if client is sleeping and has no work to do
*/
Bool ClientIsAsleep(ClientPtr pClient)
_X_ATTRIBUTE_NONNULL_ARG(1);
#endif /* _XSERVER_DIX_PRIV_H */

View File

@ -216,8 +216,6 @@ extern _X_EXPORT Bool QueueWorkProc(Bool (*function)(ClientPtr clientUnused,
ClientPtr client,
void *closure);
extern _X_EXPORT Bool ClientIsAsleep(ClientPtr /*client */ );
extern _X_EXPORT void SendGraphicsExpose(ClientPtr /*client */ ,
RegionPtr /*pRgn */ ,
XID /*drawable */ ,