dix: unexport and document EventSuppressForWindow()
Not used by any external drivers, and not supposed to be used by them, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
b15cde3a1c
commit
fe951f7dd4
|
@ -288,4 +288,19 @@ Bool MaybeDeliverEventToClient(WindowPtr pWindow,
|
||||||
XRetCode EventSelectForWindow(WindowPtr pWindow, ClientPtr pClient, Mask mask)
|
XRetCode EventSelectForWindow(WindowPtr pWindow, ClientPtr pClient, Mask mask)
|
||||||
_X_ATTRIBUTE_NONNULL_ARG(1,2);
|
_X_ATTRIBUTE_NONNULL_ARG(1,2);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* @brief set block propagation of specific events on window
|
||||||
|
*
|
||||||
|
* @param pWindow window to act on
|
||||||
|
* @param pClient client to act on
|
||||||
|
* @param mask mask of events to not propagate
|
||||||
|
* @param checkOptional set to w/ TRUE when window's optional structure changed
|
||||||
|
* @return X error code
|
||||||
|
*/
|
||||||
|
int EventSuppressForWindow(WindowPtr pWindow,
|
||||||
|
ClientPtr pClient,
|
||||||
|
Mask mask,
|
||||||
|
Bool *checkOptional)
|
||||||
|
_X_ATTRIBUTE_NONNULL_ARG(1,2,4);
|
||||||
|
|
||||||
#endif /* _XSERVER_DIX_PRIV_H */
|
#endif /* _XSERVER_DIX_PRIV_H */
|
||||||
|
|
|
@ -26,9 +26,4 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#ifndef DIXEVENTS_H
|
#ifndef DIXEVENTS_H
|
||||||
#define DIXEVENTS_H
|
#define DIXEVENTS_H
|
||||||
|
|
||||||
extern _X_EXPORT int EventSuppressForWindow(WindowPtr /* pWin */ ,
|
|
||||||
ClientPtr /* client */ ,
|
|
||||||
Mask /* mask */ ,
|
|
||||||
Bool * /* checkOptional */ );
|
|
||||||
|
|
||||||
#endif /* DIXEVENTS_H */
|
#endif /* DIXEVENTS_H */
|
||||||
|
|
Loading…
Reference in New Issue