diff options
author | Jeremy Huddleston <jeremyhu@apple.com> | 2010-10-12 17:42:55 -0700 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@apple.com> | 2010-10-12 17:42:55 -0700 |
commit | e5b19f14eac609e3c315e14e20ca1935de8de0e3 (patch) | |
tree | d2e3107c01317772fb61d4712b4676013379a83c | |
parent | 8ab87dc7ff48d4db8e5f95a74df627dac9c53c0a (diff) |
Revert "dix: don't create core motion events for non-x/y valuators."
Reverting due to fallout discussed in bug #30267. See:
https://bugs.freedesktop.org/show_bug.cgi?id=30267
This reverts commit d4ef63f602325a9920dc1cbf64e3969dfa394d5f.
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
-rw-r--r-- | dix/eventconvert.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/dix/eventconvert.c b/dix/eventconvert.c index 0f747c1a0..4e3de0b46 100644 --- a/dix/eventconvert.c +++ b/dix/eventconvert.c @@ -102,15 +102,6 @@ EventToCore(InternalEvent *event, xEvent *core) switch(event->any.type) { case ET_Motion: - { - DeviceEvent *e = &event->device_event; - /* Don't create core motion event if neither x nor y are - * present */ - if (!BitIsOn(e->valuators.mask, 0) && - !BitIsOn(e->valuators.mask, 1)) - return BadMatch; - } - /* fallthrough */ case ET_ButtonPress: case ET_ButtonRelease: case ET_KeyPress: |