Client: Pass modifiers to tablet event handling
So that the resulting QTabletEvent has the modifier information Pick-to: 6.8 6.7 6.5 Change-Id: Ifbd771f59ac41b740ccb65db2986726e7a32a760 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
parent
e349e5529d
commit
803f160dc3
@ -272,9 +272,11 @@ void QWaylandTabletToolV2::zwp_tablet_tool_v2_frame(uint32_t time)
|
|||||||
qreal tangentialPressure = m_pending.slider;
|
qreal tangentialPressure = m_pending.slider;
|
||||||
qreal rotation = m_pending.rotation;
|
qreal rotation = m_pending.rotation;
|
||||||
int z = int(m_pending.distance);
|
int z = int(m_pending.distance);
|
||||||
QWindowSystemInterface::handleTabletEvent(window, timestamp, localPosition, globalPosition,
|
|
||||||
int(m_tabletDevice), int(m_pointerType), buttons, pressure,
|
QWindowSystemInterface::handleTabletEvent(
|
||||||
xTilt, yTilt, tangentialPressure, rotation, z, m_uid);
|
window, timestamp, localPosition, globalPosition, int(m_tabletDevice),
|
||||||
|
int(m_pointerType), buttons, pressure, xTilt, yTilt, tangentialPressure, rotation,
|
||||||
|
z, m_uid, m_tabletSeat->seat()->modifiers());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!m_pending.proximitySurface && m_applied.enteredSurface) {
|
if (!m_pending.proximitySurface && m_applied.enteredSurface) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user