Add missing timestamp to tablet events
When copying the event for notify, timestamp was not set as it is for other input events. Pick-to: 6.5 Change-Id: I81bb89993027c902db2d1113605d6e6a0faf98f1 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit efb06499a7cb766062ef05f4af6bef250e3fefba) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
2196d3eff7
commit
2e0b58607e
@ -2949,6 +2949,7 @@ bool QApplication::notify(QObject *receiver, QEvent *e)
|
||||
tablet->tangentialPressure(), tablet->rotation(), tablet->z(),
|
||||
tablet->modifiers(), tablet->button(), tablet->buttons());
|
||||
te.m_spont = e->spontaneous();
|
||||
te.setTimestamp(tablet->timestamp());
|
||||
te.setAccepted(false);
|
||||
res = d->notify_helper(w, w == receiver ? tablet : &te);
|
||||
eventAccepted = ((w == receiver) ? tablet : &te)->isAccepted();
|
||||
|
Loading…
x
Reference in New Issue
Block a user