diff --git a/dix/input_priv.h b/dix/input_priv.h index 95a61d18d..09a1c10db 100644 --- a/dix/input_priv.h +++ b/dix/input_priv.h @@ -495,4 +495,12 @@ void NoticeTime(const DeviceIntPtr dev, TimeStamp time) void NoticeEventTime(InternalEvent *ev, DeviceIntPtr dev) _X_ATTRIBUTE_NONNULL_ARG(1,2); +/* + * @brief retrieve last event's timestamp for given device ID + * + * @param deviceid ID of device get fetch timestamp for + * @return timestamp of last event + */ +TimeStamp LastEventTime(int deviceid); + #endif /* _XSERVER_INPUT_PRIV_H */ diff --git a/include/dix.h b/include/dix.h index 6695a7b33..9f553232b 100644 --- a/include/dix.h +++ b/include/dix.h @@ -225,9 +225,6 @@ SetVendorRelease(int release); /* events.c */ -extern _X_EXPORT TimeStamp -LastEventTime(int deviceid); - extern _X_EXPORT Bool LastEventTimeWasReset(int deviceid);