wayland touch event to add key modifier
Add touch event keyboard modifier for wayland, which is done in qpa xcb, which is very convenient on tablets with keyboards. Change-Id: I4e6ed369f3444da41d06f9a9a83addf7de0a4e91 Reviewed-by: Povilas Kanapickas <povilas@radix.lt> Reviewed-by: David Edmundson <davidedmundson@kde.org>
This commit is contained in:
parent
05fefdbf57
commit
1df3c996e8
@ -1524,7 +1524,7 @@ void QWaylandInputDevice::Touch::touch_frame()
|
||||
return;
|
||||
}
|
||||
|
||||
QWindowSystemInterface::handleTouchEvent(window, mParent->mTouchDevice, mPendingTouchPoints);
|
||||
QWindowSystemInterface::handleTouchEvent(window, mParent->mTouchDevice, mPendingTouchPoints, mParent->modifiers());
|
||||
|
||||
// Prepare state for next frame
|
||||
const auto prevTouchPoints = mPendingTouchPoints;
|
||||
|
Loading…
x
Reference in New Issue
Block a user