2003-11-14 16:54:54 +01:00
|
|
|
/*
|
|
|
|
|
|
|
|
Copyright 1993 by Davor Matic
|
|
|
|
|
|
|
|
Permission to use, copy, modify, distribute, and sell this software
|
|
|
|
and its documentation for any purpose is hereby granted without fee,
|
|
|
|
provided that the above copyright notice appear in all copies and that
|
|
|
|
both that copyright notice and this permission notice appear in
|
|
|
|
supporting documentation. Davor Matic makes no representations about
|
|
|
|
the suitability of this software for any purpose. It is provided "as
|
|
|
|
is" without express or implied warranty.
|
|
|
|
|
|
|
|
*/
|
2004-04-23 21:54:30 +02:00
|
|
|
/* $XFree86$ */
|
2003-11-14 16:54:54 +01:00
|
|
|
|
|
|
|
#ifndef XNESTPOINTER_H
|
|
|
|
#define XNESTPOINTER_H
|
|
|
|
|
|
|
|
#define MAXBUTTONS 256
|
|
|
|
|
|
|
|
#define XNEST_POINTER_EVENT_MASK \
|
|
|
|
(ButtonPressMask | ButtonReleaseMask | PointerMotionMask | \
|
|
|
|
EnterWindowMask | LeaveWindowMask)
|
|
|
|
|
2005-06-25 23:28:48 +02:00
|
|
|
extern DeviceIntPtr xnestPointerDevice;
|
|
|
|
|
2003-11-25 20:29:01 +01:00
|
|
|
void xnestChangePointerControl(DeviceIntPtr pDev, PtrCtrl *ctrl);
|
|
|
|
int xnestPointerProc(DeviceIntPtr pDev, int onoff);
|
2003-11-14 16:54:54 +01:00
|
|
|
|
|
|
|
#endif /* XNESTPOINTER_H */
|