summaryrefslogtreecommitdiff
path: root/hw/xnest/Pointer.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xnest/Pointer.h')
-rw-r--r--hw/xnest/Pointer.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/hw/xnest/Pointer.h b/hw/xnest/Pointer.h
new file mode 100644
index 000000000..2fced12e2
--- /dev/null
+++ b/hw/xnest/Pointer.h
@@ -0,0 +1,28 @@
+/* $Xorg: Pointer.h,v 1.3 2000/08/17 19:53:28 cpqbld Exp $ */
+/*
+
+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.
+
+*/
+
+#ifndef XNESTPOINTER_H
+#define XNESTPOINTER_H
+
+#define MAXBUTTONS 256
+
+#define XNEST_POINTER_EVENT_MASK \
+ (ButtonPressMask | ButtonReleaseMask | PointerMotionMask | \
+ EnterWindowMask | LeaveWindowMask)
+
+void xnestChangePointerControl();
+int xnestPointerProc();
+
+#endif /* XNESTPOINTER_H */