From 1ba07d80652350ee440893c1ae7d654ea263c47a Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 23 May 2025 16:22:22 +0200 Subject: [PATCH] dix: unexport DeliverRawEvent() Not used by any external drivers, so no need to keep it public. Signed-off-by: Enrico Weigelt, metux IT consult --- dix/input_priv.h | 9 +++++++++ include/dix.h | 5 ----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/dix/input_priv.h b/dix/input_priv.h index 91332d3a7..d80ad7b4b 100644 --- a/dix/input_priv.h +++ b/dix/input_priv.h @@ -403,4 +403,13 @@ WindowPtr InputDevCurrentRootWindow(DeviceIntPtr pDev) WindowPtr InputDevSpriteWindow(DeviceIntPtr pDev) _X_ATTRIBUTE_NONNULL_ARG(1); +/* + * @brief deliver a raw input device event + * + * @param event pointer to raw input device event structure + * @param device pointer to input device structure + */ +void DeliverRawEvent(RawDeviceEvent *event, DeviceIntPtr device) + _X_ATTRIBUTE_NONNULL_ARG(1,2); + #endif /* _XSERVER_INPUT_PRIV_H */ diff --git a/include/dix.h b/include/dix.h index 7878cf3c1..7093d6c6e 100644 --- a/include/dix.h +++ b/include/dix.h @@ -255,11 +255,6 @@ LastEventTimeToggleResetFlag(int deviceid, Bool state); extern _X_EXPORT void LastEventTimeToggleResetAll(Bool state); -extern _X_EXPORT void -DeliverRawEvent(RawDeviceEvent * /* ev */ , - DeviceIntPtr /* dev */ - ); - extern _X_EXPORT void WindowHasNewCursor(WindowPtr /* pWin */ );