(!2007) dix: unexport SendGraphicsExpose() and fix parameter types
* not used by any drivers, so no need to keep it exported * fix parameter types to matching the protocol types Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
a94e906084
commit
a58fd6f511
|
@ -1726,7 +1726,7 @@ ProcClearToBackground(ClientPtr client)
|
|||
/* send GraphicsExpose events, or a NoExpose event, based on the region */
|
||||
void
|
||||
SendGraphicsExpose(ClientPtr client, RegionPtr pRgn, XID drawable,
|
||||
int major, int minor)
|
||||
CARD8 major, CARD16 minor)
|
||||
{
|
||||
if (pRgn && !RegionNil(pRgn)) {
|
||||
xEvent *pEvent;
|
||||
|
|
|
@ -390,4 +390,20 @@ void SendErrorToClient(ClientPtr pClient,
|
|||
BYTE errorCode)
|
||||
_X_ATTRIBUTE_NONNULL_ARG(1);
|
||||
|
||||
/*
|
||||
* @brief send GraphicsExposure events for given region to client
|
||||
|
||||
* Sends a series of GraphicsExposure events spanning the given region to the
|
||||
* client. If region is empty or NULL, sending NoExpose event instead.
|
||||
*
|
||||
+ @param pClient the client to send events to
|
||||
* @param pRegion the region the events are based on
|
||||
* @param drawable ID of the drawable the events are related to
|
||||
* @param majorOpcode major opcode of request which caused the expose event
|
||||
* @param minorOpcode minor opcode of request which caused the expose event
|
||||
*/
|
||||
void SendGraphicsExpose(ClientPtr pClient, RegionPtr pRegion, XID drawable,
|
||||
BYTE majorOpcode, CARD16 minorOpcode)
|
||||
_X_ATTRIBUTE_NONNULL_ARG(1);
|
||||
|
||||
#endif /* _XSERVER_DIX_PRIV_H */
|
||||
|
|
|
@ -210,12 +210,6 @@ extern _X_EXPORT Bool QueueWorkProc(Bool (*function)(ClientPtr clientUnused,
|
|||
ClientPtr client,
|
||||
void *closure);
|
||||
|
||||
extern _X_EXPORT void SendGraphicsExpose(ClientPtr /*client */ ,
|
||||
RegionPtr /*pRgn */ ,
|
||||
XID /*drawable */ ,
|
||||
int /*major */ ,
|
||||
int /*minor */);
|
||||
|
||||
/* atom.c */
|
||||
|
||||
extern _X_EXPORT Atom MakeAtom(const char * /*string */ ,
|
||||
|
|
Loading…
Reference in New Issue