mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-15 05:23:40 +00:00
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-mingw32-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / xserver-build-freebsd (push) Waiting to run
Build X servers / Release pushed tag (push) Blocked by required conditions
check PRs for merge conflicts / notify (push) Waiting to run
Instead of having huge number of micro-headers, consolidate all the request handler prototypes in one file. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
40 lines
990 B
C
40 lines
990 B
C
#ifndef _XIBARRIERS_H_
|
|
#define _XIBARRIERS_H_
|
|
|
|
#include "resource.h"
|
|
|
|
extern RESTYPE PointerBarrierType;
|
|
|
|
struct PointerBarrier {
|
|
INT16 x1, x2, y1, y2;
|
|
CARD32 directions;
|
|
};
|
|
|
|
int
|
|
barrier_get_direction(int, int, int, int);
|
|
BOOL
|
|
barrier_is_blocking(const struct PointerBarrier *, int, int, int, int,
|
|
double *);
|
|
BOOL
|
|
barrier_is_blocking_direction(const struct PointerBarrier *, int);
|
|
void
|
|
barrier_clamp_to_barrier(struct PointerBarrier *barrier, int dir, int *x,
|
|
int *y);
|
|
|
|
#include <xfixesint.h>
|
|
|
|
int
|
|
XICreatePointerBarrier(ClientPtr client,
|
|
xXFixesCreatePointerBarrierReq * stuff);
|
|
|
|
int
|
|
XIDestroyPointerBarrier(ClientPtr client,
|
|
xXFixesDestroyPointerBarrierReq * stuff);
|
|
|
|
Bool XIBarrierInit(void);
|
|
void XIBarrierReset(void);
|
|
|
|
void XIBarrierNewMasterDevice(ClientPtr client, int deviceid);
|
|
void XIBarrierRemoveMasterDevice(ClientPtr client, int deviceid);
|
|
|
|
#endif /* _XIBARRIERS_H_ */
|