2 #ifdef HAVE_DIX_CONFIG_H
3 #include <dix-config.h>
11 extern _X_EXPORT RESTYPE PointerBarrierType
;
13 struct PointerBarrier
{
19 barrier_get_direction(int, int, int, int);
21 barrier_is_blocking(const struct PointerBarrier
*, int, int, int, int,
24 barrier_is_blocking_direction(const struct PointerBarrier
*, int);
26 barrier_clamp_to_barrier(struct PointerBarrier
*barrier
, int dir
, int *x
,
29 #include <xfixesint.h>
32 XICreatePointerBarrier(ClientPtr client
,
33 xXFixesCreatePointerBarrierReq
* stuff
);
36 XIDestroyPointerBarrier(ClientPtr client
,
37 xXFixesDestroyPointerBarrierReq
* stuff
);
39 Bool
XIBarrierInit(void);
40 void XIBarrierReset(void);
42 int SProcXIBarrierReleasePointer(ClientPtr client
);
43 int ProcXIBarrierReleasePointer(ClientPtr client
);
45 void XIBarrierNewMasterDevice(ClientPtr client
, int deviceid
);
46 void XIBarrierRemoveMasterDevice(ClientPtr client
, int deviceid
);
48 #endif /* _XIBARRIERS_H_ */