diff --git a/dix/dix_priv.h b/dix/dix_priv.h index c64ebb7f6..6c1c547b8 100644 --- a/dix/dix_priv.h +++ b/dix/dix_priv.h @@ -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 */ diff --git a/include/dixevents.h b/include/dixevents.h index 11b81fff2..2e0a33abe 100644 --- a/include/dixevents.h +++ b/include/dixevents.h @@ -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 */