diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-08-17 12:08:52 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-09-01 14:42:44 +1000 |
commit | de8be07cc0a8163b6ef04455706fd5ca2cebe587 (patch) | |
tree | 1046c940d3a228d737a27038a0d3311bf10913d3 /xkb | |
parent | 79ee78de9de49d0cab03401662baa476a18e53b8 (diff) |
dix: don't create core motion events for non-x/y valuators.
Devices that send motion events with valuators other than x/y get core
motion events with unchanged x/y coordinates. This confuses some
applications.
If the DeviceEvent does not have the x/y valuators set, return BadMatch on
core conversion, thus skipping the event altogether.
Reported-by: Bartosz Brachaczek <b.brachaczek@gmail.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Bartosz Brachaczek <b.brachaczek@gmail.com>
Diffstat (limited to 'xkb')
0 files changed, 0 insertions, 0 deletions