summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qobjectdefs.h
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2015-05-15 13:12:45 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2015-05-23 11:28:06 +0000
commitd0b1c646b4a351f7eea2137c68993ae63b2b6bab (patch)
tree5b8208605800ce03aedbe02d5bcd993ac7d8e964 /src/corelib/kernel/qobjectdefs.h
parent431e5d9f47515b51dfde582f28ea6bfed5bf82dd (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 'src/corelib/kernel/qobjectdefs.h')
0 files changed, 0 insertions, 0 deletions