summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-23 02:50:53 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-23 02:50:53 +0300
commitbf4df9b73f0c1a84093aaf9a2e2cbc56fb341c60 (patch)
tree3111b9ce9246e1f27709a9dc881fb2edc5d997ff
parent4dd91c45abea9fb561a5acb10290e29487df6722 (diff)
include: move POINTER_* flags from inputstr.h to input.h
Given they're just numeric constants, they should be included in input.h, not inputstr.h.
-rw-r--r--include/input.h4
-rw-r--r--include/inputstr.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/input.h b/include/input.h
index e598963c0..4acc85694 100644
--- a/include/input.h
+++ b/include/input.h
@@ -59,6 +59,10 @@ SOFTWARE.
#define DEVICE_OFF 2
#define DEVICE_CLOSE 3
+#define POINTER_RELATIVE (1 << 1)
+#define POINTER_ABSOLUTE (1 << 2)
+#define POINTER_ACCELERATE (1 << 3)
+
#define MAP_LENGTH 256
#define DOWN_LENGTH 32 /* 256/8 => number of bytes to hold 256 bits */
#define NullGrab ((GrabPtr)NULL)
diff --git a/include/inputstr.h b/include/inputstr.h
index 52175ad64..2c64e0d33 100644
--- a/include/inputstr.h
+++ b/include/inputstr.h
@@ -62,10 +62,6 @@ SOFTWARE.
#define EMASKSIZE MAX_DEVICES
-#define POINTER_RELATIVE (1 << 1)
-#define POINTER_ABSOLUTE (1 << 2)
-#define POINTER_ACCELERATE (1 << 3)
-
extern int CoreDevicePrivatesIndex, CoreDevicePrivatesGeneration;
/* Kludge: OtherClients and InputClients must be compatible, see code */