mousepad: Default to scrolling up when fingers move up on the android version

It mimicks the behaviour of X11.

BUG: 410156
This commit is contained in:
Aleix Pol 2021-04-18 23:36:10 +02:00 committed by Aleix Pol Gonzalez
parent f4211e0431
commit fec500da39

View file

@ -78,7 +78,7 @@ bool WaylandRemoteInput::handlePacket(const NetworkPacket& np)
//For drag'n drop. NEVER USED (release is done by tapping, which actually triggers a isSingleClick). Kept here for future-proofness.
m_waylandInput->requestPointerButtonRelease(Qt::LeftButton);
} else if (isScroll) {
m_waylandInput->requestPointerAxis(Qt::Vertical, dy);
m_waylandInput->requestPointerAxis(Qt::Vertical, -dy);
} else if (!key.isEmpty() || specialKey) {
// TODO: implement key support
}