diff options
author | Dmitry Kazakov <dimula73@gmail.com> | 2019-03-10 14:48:58 +0300 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2019-04-01 14:36:47 +0000 |
commit | e4532224145a0a72cde9b40cb7fd39011624d1c1 (patch) | |
tree | 58a5f884f27a7c8dea1e5e3b47ebcd54f8ff62c7 /tests | |
parent | 409e3eab092ae9896f453b69f4b4749e654680bb (diff) |
Fix tablet jitter on X11
We should get the correct stylus position from the valuators,
not from the X11-provided global position. Global position is rounded
to the nearest FP16 values, which is not enough for smooth painting.
[ChangeLog][Platform Specific Changes][X11 / XCB] QTabletEvent
coordinates now come from AbsX/AbsY valuators in the X11 event, in
more precise 32.32 fixed-point format, scaled to fit the virtual
desktop. It's possible to revert to using the legacy 16.16-format
event_x/event_y coordinates as in previous releases by setting the
QT_XCB_TABLET_LEGACY_COORDINATES environment variable.
Task-number: QTBUG-45375
Fixes: QTBUG-48151
Change-Id: Ie701446b3586296bcb8fb09158f387ba6a7cbf07
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions