From bf4df9b73f0c1a84093aaf9a2e2cbc56fb341c60 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Mon, 23 Oct 2006 02:50:53 +0300 Subject: [PATCH] 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. --- include/input.h | 4 ++++ include/inputstr.h | 4 ---- 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 */