From 859e4282d4bbba1add3fa6f4ce5c31fe9757b37f Mon Sep 17 00:00:00 2001 From: kohnish Date: Tue, 18 Nov 2025 21:40:42 +0100 Subject: [PATCH] Revert "mi: make CopyGetMasterEvent() static" This reverts commit 12c507cd1fb3d6f1849313a539f5d0c952535872. --- mi/mi.h | 5 +++++ mi/mieq.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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) {