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:
Enrico Weigelt, metux IT consult 2025-05-22 16:22:52 +02:00
parent b15cde3a1c
commit fe951f7dd4
2 changed files with 15 additions and 5 deletions

View File

@ -288,4 +288,19 @@ Bool MaybeDeliverEventToClient(WindowPtr pWindow,
XRetCode EventSelectForWindow(WindowPtr pWindow, ClientPtr pClient, Mask mask)
_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 */

View File

@ -26,9 +26,4 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#ifndef DIXEVENTS_H
#define DIXEVENTS_H
extern _X_EXPORT int EventSuppressForWindow(WindowPtr /* pWin */ ,
ClientPtr /* client */ ,
Mask /* mask */ ,
Bool * /* checkOptional */ );
#endif /* DIXEVENTS_H */