diff --git a/dix/input_priv.h b/dix/input_priv.h index a9f2d54e8..6e6d711b8 100644 --- a/dix/input_priv.h +++ b/dix/input_priv.h @@ -477,4 +477,13 @@ Bool InputDevIsMaster(DeviceIntPtr dev) Bool InputDevIsFloating(DeviceIntPtr dev) _X_ATTRIBUTE_NONNULL_ARG(1); +/* + * @brief store timestamp as the device's last event time + * + * @param dev device the timestamp is stored for + * @param time the timestamp to store + */ +void NoticeTime(const DeviceIntPtr dev, TimeStamp time) + _X_ATTRIBUTE_NONNULL_ARG(1); + #endif /* _XSERVER_INPUT_PRIV_H */ diff --git a/include/dix.h b/include/dix.h index 3ac75aede..64c292457 100644 --- a/include/dix.h +++ b/include/dix.h @@ -225,10 +225,6 @@ SetVendorRelease(int release); /* events.c */ -extern _X_EXPORT void -NoticeTime(const DeviceIntPtr dev, - TimeStamp time); - extern _X_EXPORT void NoticeEventTime(InternalEvent *ev, DeviceIntPtr dev);