diff --git a/dix/input_priv.h b/dix/input_priv.h index d80ad7b4b..e91054e83 100644 --- a/dix/input_priv.h +++ b/dix/input_priv.h @@ -412,4 +412,9 @@ WindowPtr InputDevSpriteWindow(DeviceIntPtr pDev) void DeliverRawEvent(RawDeviceEvent *event, DeviceIntPtr device) _X_ATTRIBUTE_NONNULL_ARG(1,2); +/* + * @brief callback on input device events + */ +extern CallbackListPtr DeviceEventCallback; + #endif /* _XSERVER_INPUT_PRIV_H */ diff --git a/include/dix.h b/include/dix.h index 7093d6c6e..70573a85b 100644 --- a/include/dix.h +++ b/include/dix.h @@ -308,12 +308,6 @@ typedef struct { int count; } EventInfoRec; -/* - * DeviceEventCallback stuff - */ - -extern _X_EXPORT CallbackListPtr DeviceEventCallback; - typedef struct { InternalEvent *event; DeviceIntPtr device; diff --git a/record/record.c b/record/record.c index d8e730972..ba1f217c9 100644 --- a/record/record.c +++ b/record/record.c @@ -36,6 +36,7 @@ and Jim Haggerty of Metheus. #include "dix/cursor_priv.h" #include "dix/eventconvert.h" +#include "dix/input_priv.h" #include "os/client_priv.h" #include "dixstruct.h"