summaryrefslogtreecommitdiff
path: root/XI2.h
diff options
context:
space:
mode:
authorChase Douglas <chase.douglas@canonical.com>2011-08-05 14:20:05 -0700
committerChase Douglas <chase.douglas@canonical.com>2011-08-05 14:45:34 -0700
commit3172e3c52eb45e4830d85ae53888d0b28c13df62 (patch)
tree8699dc3de739d42087d00f6165c291e5a1ac3555 /XI2.h
parentb15ad6e0dc1759e514c998eecd7e61b25308add6 (diff)
Fix up pointer event emulation section
* Wording cleanups for tense and to make some sentences flow better. * Upon further review, it does seem to make more sense to deliver emulated pointer events through the same slave device rather than the master device. Thus, slave devices (including floating devices) may emit emulated pointer events. * Peter is correct, it doesn't make sense to set the PointerEmulated flag on touch events. Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'XI2.h')
-rw-r--r--XI2.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/XI2.h b/XI2.h
index 4b3c275..4d8380f 100644
--- a/XI2.h
+++ b/XI2.h
@@ -158,8 +158,7 @@
/* Device event flags (pointer events only) */
#define XIPointerEmulated (1 << 16)
/* Device event flags (touch events only) */
-#define XIPointerEmulated (1 << 16)
-#define XITouchPendingEnd (1 << 17)
+#define XITouchPendingEnd (1 << 16)
/* Touch modes */
#define XIDirectTouch 1