VirtualBox

source: vbox/trunk/src/VBox/Additions/x11/x11include/xorg-server-1.18.0/xibarriers.h@ 78293

Last change on this file since 78293 was 58634, checked in by vboxsync, 9 years ago

Additions/x11: added header files for building X.Org video driver against X.Org Server 1.18.

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1
2#ifdef HAVE_DIX_CONFIG_H
3#include <dix-config.h>
4#endif
5
6#ifndef _XIBARRIERS_H_
7#define _XIBARRIERS_H_
8
9#include "resource.h"
10
11extern _X_EXPORT RESTYPE PointerBarrierType;
12
13struct PointerBarrier {
14 INT16 x1, x2, y1, y2;
15 CARD32 directions;
16};
17
18int
19barrier_get_direction(int, int, int, int);
20BOOL
21barrier_is_blocking(const struct PointerBarrier *, int, int, int, int,
22 double *);
23BOOL
24barrier_is_blocking_direction(const struct PointerBarrier *, int);
25void
26barrier_clamp_to_barrier(struct PointerBarrier *barrier, int dir, int *x,
27 int *y);
28
29#include <xfixesint.h>
30
31int
32XICreatePointerBarrier(ClientPtr client,
33 xXFixesCreatePointerBarrierReq * stuff);
34
35int
36XIDestroyPointerBarrier(ClientPtr client,
37 xXFixesDestroyPointerBarrierReq * stuff);
38
39Bool XIBarrierInit(void);
40void XIBarrierReset(void);
41
42int SProcXIBarrierReleasePointer(ClientPtr client);
43int ProcXIBarrierReleasePointer(ClientPtr client);
44
45void XIBarrierNewMasterDevice(ClientPtr client, int deviceid);
46void XIBarrierRemoveMasterDevice(ClientPtr client, int deviceid);
47
48#endif /* _XIBARRIERS_H_ */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette