dix: unexport and document ClientSignal()
Not used by any external drivers, so no need to keep it exported. Also renamed to dixClientSignal(), since there's a conflicting prototype in fontsproto.h. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
8104fc115d
commit
b528301f97
|
@ -3532,7 +3532,7 @@ CloseDownClient(ClientPtr client)
|
||||||
}
|
}
|
||||||
client->clientGone = TRUE; /* so events aren't sent to client */
|
client->clientGone = TRUE; /* so events aren't sent to client */
|
||||||
if (ClientIsAsleep(client))
|
if (ClientIsAsleep(client))
|
||||||
ClientSignal(client);
|
dixClientSignal(client);
|
||||||
ProcessWorkQueueZombies();
|
ProcessWorkQueueZombies();
|
||||||
CloseDownConnection(client);
|
CloseDownConnection(client);
|
||||||
output_pending_clear(client);
|
output_pending_clear(client);
|
||||||
|
|
|
@ -331,4 +331,13 @@ void MarkClientException(ClientPtr pClient)
|
||||||
Bool ClientSleep(ClientPtr pClient, ClientSleepProcPtr func, void *closure)
|
Bool ClientSleep(ClientPtr pClient, ClientSleepProcPtr func, void *closure)
|
||||||
_X_ATTRIBUTE_NONNULL_ARG(1,2);
|
_X_ATTRIBUTE_NONNULL_ARG(1,2);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @brief signal to sleeping client there's work to do
|
||||||
|
*
|
||||||
|
* @param pClient the client to signal to
|
||||||
|
* @return TRUE on success
|
||||||
|
*/
|
||||||
|
Bool dixClientSignal(ClientPtr pClient)
|
||||||
|
_X_ATTRIBUTE_NONNULL_ARG(1);
|
||||||
|
|
||||||
#endif /* _XSERVER_DIX_PRIV_H */
|
#endif /* _XSERVER_DIX_PRIV_H */
|
||||||
|
|
|
@ -2035,7 +2035,7 @@ static void verrorf(const char *f, va_list args)
|
||||||
static const xfont2_client_funcs_rec xfont2_client_funcs = {
|
static const xfont2_client_funcs_rec xfont2_client_funcs = {
|
||||||
.version = XFONT2_CLIENT_FUNCS_VERSION,
|
.version = XFONT2_CLIENT_FUNCS_VERSION,
|
||||||
.client_auth_generation = _client_auth_generation,
|
.client_auth_generation = _client_auth_generation,
|
||||||
.client_signal = ClientSignal,
|
.client_signal = dixClientSignal,
|
||||||
.delete_font_client_id = delete_font_client_id,
|
.delete_font_client_id = delete_font_client_id,
|
||||||
.verrorf = verrorf,
|
.verrorf = verrorf,
|
||||||
.find_old_font = find_old_font,
|
.find_old_font = find_old_font,
|
||||||
|
|
|
@ -581,8 +581,7 @@ ClientSleep(ClientPtr client, ClientSleepProcPtr function, void *closure)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool
|
Bool dixClientSignal(ClientPtr client)
|
||||||
ClientSignal(ClientPtr client)
|
|
||||||
{
|
{
|
||||||
SleepQueuePtr q;
|
SleepQueuePtr q;
|
||||||
|
|
||||||
|
|
|
@ -1274,7 +1274,7 @@ making its way back to Dispatch()). No more X requests will be processed
|
||||||
for this client until ClientWakeup is called.
|
for this client until ClientWakeup is called.
|
||||||
<blockquote><programlisting>
|
<blockquote><programlisting>
|
||||||
|
|
||||||
Bool ClientSignal (client)
|
Bool dixClientSignal (client)
|
||||||
ClientPtr client;
|
ClientPtr client;
|
||||||
|
|
||||||
</programlisting></blockquote>
|
</programlisting></blockquote>
|
||||||
|
@ -4921,7 +4921,7 @@ mi and fb implementations.</para>
|
||||||
<row><entry><function>ChangeWindowAttributes</function></entry><entry><literal>ddx</literal></entry><entry><para>Screen</para></entry></row>
|
<row><entry><function>ChangeWindowAttributes</function></entry><entry><literal>ddx</literal></entry><entry><para>Screen</para></entry></row>
|
||||||
<row><entry><function>ClearToBackground</function></entry><entry><literal>ddx</literal></entry><entry><para>Window</para></entry></row>
|
<row><entry><function>ClearToBackground</function></entry><entry><literal>ddx</literal></entry><entry><para>Window</para></entry></row>
|
||||||
<row><entry><function>ClientAuthorized</function></entry><entry><literal>os</literal></entry><entry><para></para></entry></row>
|
<row><entry><function>ClientAuthorized</function></entry><entry><literal>os</literal></entry><entry><para></para></entry></row>
|
||||||
<row><entry><function>ClientSignal</function></entry><entry><literal>dix</literal></entry><entry><para></para></entry></row>
|
<row><entry><function>dixClientSignal</function></entry><entry><literal>dix</literal></entry><entry><para></para></entry></row>
|
||||||
<row><entry><function>ClientSleep</function></entry><entry><literal>dix</literal></entry><entry><para></para></entry></row>
|
<row><entry><function>ClientSleep</function></entry><entry><literal>dix</literal></entry><entry><para></para></entry></row>
|
||||||
<row><entry><function>ClientWakeup</function></entry><entry><literal>dix</literal></entry><entry><para></para></entry></row>
|
<row><entry><function>ClientWakeup</function></entry><entry><literal>dix</literal></entry><entry><para></para></entry></row>
|
||||||
<row><entry><function>ClipNotify</function></entry><entry><literal>ddx</literal></entry><entry><para>Screen</para></entry></row>
|
<row><entry><function>ClipNotify</function></entry><entry><literal>ddx</literal></entry><entry><para>Screen</para></entry></row>
|
||||||
|
|
|
@ -219,11 +219,6 @@ extern _X_EXPORT Bool QueueWorkProc(Bool (*function)(ClientPtr clientUnused,
|
||||||
typedef Bool (*ClientSleepProcPtr) (ClientPtr client,
|
typedef Bool (*ClientSleepProcPtr) (ClientPtr client,
|
||||||
void *closure);
|
void *closure);
|
||||||
|
|
||||||
#ifndef ___CLIENTSIGNAL_DEFINED___
|
|
||||||
#define ___CLIENTSIGNAL_DEFINED___
|
|
||||||
extern _X_EXPORT Bool ClientSignal(ClientPtr /*client */ );
|
|
||||||
#endif /* ___CLIENTSIGNAL_DEFINED___ */
|
|
||||||
|
|
||||||
#define CLIENT_SIGNAL_ANY ((void *)-1)
|
#define CLIENT_SIGNAL_ANY ((void *)-1)
|
||||||
extern _X_EXPORT int ClientSignalAll(ClientPtr /*client*/,
|
extern _X_EXPORT int ClientSignalAll(ClientPtr /*client*/,
|
||||||
ClientSleepProcPtr /*function*/,
|
ClientSleepProcPtr /*function*/,
|
||||||
|
|
Loading…
Reference in New Issue