Xi: un-statify XI2EventSwap, it is needed for tests.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2009-08-10 14:14:35 +10:00
parent 55e1ea08d0
commit 3f161a0aac
2 changed files with 5 additions and 1 deletions

View File

@ -810,7 +810,7 @@ static void SXIPropertyEvent(xXIPropertyEvent *from, xXIPropertyEvent *to)
} }
/** Event swapping function for XI2 events. */ /** Event swapping function for XI2 events. */
static void void
XI2EventSwap(xGenericEvent *from, xGenericEvent *to) XI2EventSwap(xGenericEvent *from, xGenericEvent *to)
{ {
switch(from->evtype) switch(from->evtype)

View File

@ -193,6 +193,10 @@ extern _X_EXPORT void SendEventToAllWindows(
xEvent * /* ev */, xEvent * /* ev */,
int /* count */); int /* count */);
extern _X_HIDDEN void XI2EventSwap(
xGenericEvent * /* from */,
xGenericEvent * /* to */);
/* Input device properties */ /* Input device properties */
extern _X_EXPORT void XIDeleteAllDeviceProperties( extern _X_EXPORT void XIDeleteAllDeviceProperties(
DeviceIntPtr /* device */ DeviceIntPtr /* device */