Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KDE Connect
Commits
fec500da
Commit
fec500da
authored
Apr 18, 2021
by
Aleix Pol Gonzalez
🐧
Committed by
Aleix Pol Gonzalez
Apr 22, 2021
Browse files
mousepad: Default to scrolling up when fingers move up on the android version
It mimicks the behaviour of X11. BUG: 410156
parent
f4211e04
Pipeline
#59193
passed with stage
in 4 minutes and 10 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
plugins/mousepad/waylandremoteinput.cpp
View file @
fec500da
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment