First import
[xorg_rtime.git] / xorg-server-1.4 / hw / xnest / Pointer.h
blob890726f55f6ad700fbb112b23d93fb9ff37b8101
1 /*
3 Copyright 1993 by Davor Matic
5 Permission to use, copy, modify, distribute, and sell this software
6 and its documentation for any purpose is hereby granted without fee,
7 provided that the above copyright notice appear in all copies and that
8 both that copyright notice and this permission notice appear in
9 supporting documentation. Davor Matic makes no representations about
10 the suitability of this software for any purpose. It is provided "as
11 is" without express or implied warranty.
15 #ifndef XNESTPOINTER_H
16 #define XNESTPOINTER_H
18 #define MAXBUTTONS 256
20 #define XNEST_POINTER_EVENT_MASK \
21 (ButtonPressMask | ButtonReleaseMask | PointerMotionMask | \
22 EnterWindowMask | LeaveWindowMask)
24 extern DeviceIntPtr xnestPointerDevice;
26 void xnestChangePointerControl(DeviceIntPtr pDev, PtrCtrl *ctrl);
27 int xnestPointerProc(DeviceIntPtr pDev, int onoff);
29 #endif /* XNESTPOINTER_H */