mi: make CopyGetMasterEvent() static
It's not used outside mieq.c, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1727>
This commit is contained in:
parent
6dbb957922
commit
12c507cd1f
5
mi/mi.h
5
mi/mi.h
|
@ -156,11 +156,6 @@ extern _X_EXPORT void mieqAddCallbackOnDrained(CallbackProcPtr callback,
|
||||||
extern _X_EXPORT void mieqRemoveCallbackOnDrained(CallbackProcPtr callback,
|
extern _X_EXPORT void mieqRemoveCallbackOnDrained(CallbackProcPtr callback,
|
||||||
void *param);
|
void *param);
|
||||||
|
|
||||||
extern DeviceIntPtr CopyGetMasterEvent(DeviceIntPtr /* sdev */ ,
|
|
||||||
InternalEvent * /* original */ ,
|
|
||||||
InternalEvent * /* copy */
|
|
||||||
);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom input event handler. If you need to process input events in some
|
* 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
|
* other way than the default path, register an input event handler for the
|
||||||
|
|
|
@ -385,7 +385,7 @@ FixUpEventForMaster(DeviceIntPtr mdev, DeviceIntPtr sdev,
|
||||||
* @param copy The event after being copied
|
* @param copy The event after being copied
|
||||||
* @return The master device or NULL if the device is a floating slave.
|
* @return The master device or NULL if the device is a floating slave.
|
||||||
*/
|
*/
|
||||||
DeviceIntPtr
|
static DeviceIntPtr
|
||||||
CopyGetMasterEvent(DeviceIntPtr sdev,
|
CopyGetMasterEvent(DeviceIntPtr sdev,
|
||||||
InternalEvent *original, InternalEvent *copy)
|
InternalEvent *original, InternalEvent *copy)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue