From 3f161a0aac39fbdeef393a17269486b8dace4672 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 10 Aug 2009 14:14:35 +1000 Subject: [PATCH] Xi: un-statify XI2EventSwap, it is needed for tests. Signed-off-by: Peter Hutterer --- Xi/extinit.c | 2 +- include/exevents.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Xi/extinit.c b/Xi/extinit.c index 1376f4fca..1e7b51e08 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -810,7 +810,7 @@ static void SXIPropertyEvent(xXIPropertyEvent *from, xXIPropertyEvent *to) } /** Event swapping function for XI2 events. */ -static void +void XI2EventSwap(xGenericEvent *from, xGenericEvent *to) { switch(from->evtype) diff --git a/include/exevents.h b/include/exevents.h index f58488d26..8d4b80b5c 100644 --- a/include/exevents.h +++ b/include/exevents.h @@ -193,6 +193,10 @@ extern _X_EXPORT void SendEventToAllWindows( xEvent * /* ev */, int /* count */); +extern _X_HIDDEN void XI2EventSwap( + xGenericEvent * /* from */, + xGenericEvent * /* to */); + /* Input device properties */ extern _X_EXPORT void XIDeleteAllDeviceProperties( DeviceIntPtr /* device */