summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dix/events.c1
-rw-r--r--dix/ffs.c6
-rw-r--r--include/dix.h2
-rw-r--r--include/input.h6
4 files changed, 14 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index 3b1a0aaf4..b5937e754 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -327,7 +327,6 @@ static CARD8 criticalEvents[32] =
#ifdef PANORAMIX
static void ConfineToShape(RegionPtr shape, int *px, int *py);
-extern void PostSyntheticMotion(int x, int y, int screenNum, int time);
static void PostNewCursor(void);
#define SyntheticMotion(x, y) \
diff --git a/dix/ffs.c b/dix/ffs.c
index e25d715dd..f84f7b47f 100644
--- a/dix/ffs.c
+++ b/dix/ffs.c
@@ -26,6 +26,12 @@ The Open Group.
*/
+#ifdef HAVE_DIX_CONFIG_H
+#include <dix-config.h>
+#endif
+
+#include "dix.h"
+
int
ffs(int i)
{
diff --git a/include/dix.h b/include/dix.h
index f346b43a2..983a84f02 100644
--- a/include/dix.h
+++ b/include/dix.h
@@ -701,6 +701,8 @@ extern Bool AllocateClientPrivate(
int /*index*/,
unsigned /*amount*/);
+extern int ffs(int i);
+
/*
* callback manager stuff
*/
diff --git a/include/input.h b/include/input.h
index f2fe6d137..e7017cb27 100644
--- a/include/input.h
+++ b/include/input.h
@@ -418,6 +418,12 @@ extern int GetProximityEvents(
int num_valuators,
int *valuators);
+extern void PostSyntheticMotion(
+ int x,
+ int y,
+ int screenNum,
+ unsigned long time);
+
extern int GetMotionHistorySize(
void);