Add qt.pointer.dispatch debug message for tablet->mouse synth
We have one for touch->mouse synthesis, so perhaps it's a good idea here
too; then we can confirm that it's missing on Windows, because Windows
normally does the synthesis (setPlatformSynthesizesMouse(false) is not
called on this platform, so the default is true, meaning we expect that
it does that). The cross-platform synthesis (and ability for a platform
plugin to disable) began with f931e5e72d
Pick-to: 6.4
Task-number: QTBUG-102764
Change-Id: Ic6913adbeb6b91e3953ddfe8b401975d95cd9af3
Reviewed-by: Doris Verria <doris.verria@qt.io>
bb10
parent
8824a4e19c
commit
dcc691c77d
|
|
@ -2736,6 +2736,8 @@ void QGuiApplicationPrivate::processTabletEvent(QWindowSystemInterfacePrivate::T
|
|||
QWindowSystemInterfacePrivate::MouseEvent mouseEvent(window, e->timestamp, e->local,
|
||||
e->global, e->buttons, e->modifiers, button, mouseType, Qt::MouseEventNotSynthesized, false, device);
|
||||
mouseEvent.flags |= QWindowSystemInterfacePrivate::WindowSystemEvent::Synthetic;
|
||||
qCDebug(lcPtrDispatch) << "synthesizing mouse from tablet event" << mouseType
|
||||
<< e->local << button << e->buttons << e->modifiers;
|
||||
processMouseEvent(&mouseEvent);
|
||||
}
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in New Issue