diff options
author | Alexander Volkov <a.volkov@rusbitech.ru> | 2015-05-15 13:12:45 +0300 |
---|---|---|
committer | Alexander Volkov <a.volkov@rusbitech.ru> | 2015-05-23 11:28:06 +0000 |
commit | d0b1c646b4a351f7eea2137c68993ae63b2b6bab (patch) | |
tree | 5b8208605800ce03aedbe02d5bcd993ac7d8e964 /tests | |
parent | 431e5d9f47515b51dfde582f28ea6bfed5bf82dd (diff) |
xcb: Properly calculate the size of the touch rect
ABS_MT_TOUCH_MAJOR is given in surface units rather than in finger units.
Also it's not the width of the touch rect but the length of the major axis
of the contact. Currently we don't support the orientation of touch rects,
so report square rects with side length of ABS_MT_TOUCH_MAJOR.
Change-Id: I16c861f30128438ec4a1cae983700f8da4b7b4b7
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions