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 */ );