dix: add missing prototypes
Add missing prototype for ffs, and include headers from ffs.c. Move PostSyntheticMotion prototype to input.h.
This commit is contained in:
parent
6716488fa2
commit
3a9b964258
|
@ -327,7 +327,6 @@ static CARD8 criticalEvents[32] =
|
||||||
|
|
||||||
#ifdef PANORAMIX
|
#ifdef PANORAMIX
|
||||||
static void ConfineToShape(RegionPtr shape, int *px, int *py);
|
static void ConfineToShape(RegionPtr shape, int *px, int *py);
|
||||||
extern void PostSyntheticMotion(int x, int y, int screenNum, int time);
|
|
||||||
static void PostNewCursor(void);
|
static void PostNewCursor(void);
|
||||||
|
|
||||||
#define SyntheticMotion(x, y) \
|
#define SyntheticMotion(x, y) \
|
||||||
|
|
|
@ -26,6 +26,12 @@ The Open Group.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_DIX_CONFIG_H
|
||||||
|
#include <dix-config.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "dix.h"
|
||||||
|
|
||||||
int
|
int
|
||||||
ffs(int i)
|
ffs(int i)
|
||||||
{
|
{
|
||||||
|
|
|
@ -701,6 +701,8 @@ extern Bool AllocateClientPrivate(
|
||||||
int /*index*/,
|
int /*index*/,
|
||||||
unsigned /*amount*/);
|
unsigned /*amount*/);
|
||||||
|
|
||||||
|
extern int ffs(int i);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* callback manager stuff
|
* callback manager stuff
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -418,6 +418,12 @@ extern int GetProximityEvents(
|
||||||
int num_valuators,
|
int num_valuators,
|
||||||
int *valuators);
|
int *valuators);
|
||||||
|
|
||||||
|
extern void PostSyntheticMotion(
|
||||||
|
int x,
|
||||||
|
int y,
|
||||||
|
int screenNum,
|
||||||
|
unsigned long time);
|
||||||
|
|
||||||
extern int GetMotionHistorySize(
|
extern int GetMotionHistorySize(
|
||||||
void);
|
void);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue