diff --git a/mi/mi.h b/mi/mi.h index d0c50a35d..10432a71a 100644 --- a/mi/mi.h +++ b/mi/mi.h @@ -156,6 +156,11 @@ extern _X_EXPORT void mieqAddCallbackOnDrained(CallbackProcPtr callback, extern _X_EXPORT void mieqRemoveCallbackOnDrained(CallbackProcPtr callback, void *param); +extern DeviceIntPtr CopyGetMasterEvent(DeviceIntPtr /* sdev */ , + InternalEvent * /* original */ , + InternalEvent * /* copy */ + ); + /** * Custom input event handler. If you need to process input events in some * other way than the default path, register an input event handler for the diff --git a/mi/mieq.c b/mi/mieq.c index c4018335c..caf360dcf 100644 --- a/mi/mieq.c +++ b/mi/mieq.c @@ -384,7 +384,7 @@ FixUpEventForMaster(DeviceIntPtr mdev, DeviceIntPtr sdev, * @param copy The event after being copied * @return The master device or NULL if the device is a floating slave. */ -static DeviceIntPtr +DeviceIntPtr CopyGetMasterEvent(DeviceIntPtr sdev, InternalEvent *original, InternalEvent *copy) {