diff options
author | Henrik Rydberg <rydberg@euromail.se> | 2010-06-17 13:17:27 +0200 |
---|---|---|
committer | Henrik Rydberg <rydberg@euromail.se> | 2010-06-17 13:19:08 +0200 |
commit | dccdc464407835845dffcfbf9b5154b974e52bc6 (patch) | |
tree | b0747cb9202f67879fedea72539e78ecdd08d6bc | |
parent | 90c1b691f74995b284c2d7c79c762a85a0ed1c15 (diff) | |
download | xorg-input-kobomultitouch-dccdc464407835845dffcfbf9b5154b974e52bc6.tar.gz xorg-input-kobomultitouch-dccdc464407835845dffcfbf9b5154b974e52bc6.tar.bz2 xorg-input-kobomultitouch-dccdc464407835845dffcfbf9b5154b974e52bc6.zip |
Make MT_ABS_SIZE available for all kernel versions
The code erroneously had MT_ABS_SIZE defined only for kernels
before 2.6.36. Fixed with this patch.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
-rw-r--r-- | include/common.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/common.h b/include/common.h index de79332..e13088f 100644 --- a/include/common.h +++ b/include/common.h @@ -56,7 +56,6 @@ /* includes available in 2.6.36 */ #ifndef ABS_MT_SLOT #define ABS_MT_SLOT 0x2f /* MT slot being modified */ -#define MT_ABS_SIZE 11 /* Size of MT_SLOT_ABS_EVENTS */ #define MT_SLOT_ABS_EVENTS { \ ABS_MT_TOUCH_MAJOR, \ ABS_MT_TOUCH_MINOR, \ @@ -72,6 +71,8 @@ } #endif +#define MT_ABS_SIZE 11 /* Size of MT_SLOT_ABS_EVENTS */ + #define DIM_FINGER 32 #define DIM2_FINGER (DIM_FINGER * DIM_FINGER) |