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
Weixuan Xiao
kdeconnect-kde
Commits
c32ff315
Commit
c32ff315
authored
Jun 29, 2014
by
Albert Vaca Cintora
Browse files
Should not scroll if dy is 0
parent
0a87194d
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/mousepad/mousepadplugin.cpp
View file @
c32ff315
...
...
@@ -77,7 +77,7 @@ bool MousepadPlugin::receivePackage(const NetworkPackage& np)
if
(
dy
<
0
)
{
XTestFakeButtonEvent
(
m_display
,
MouseWheelDown
,
true
,
CurrentTime
);
XTestFakeButtonEvent
(
m_display
,
MouseWheelDown
,
false
,
CurrentTime
);
}
else
{
}
else
if
(
dy
>
0
)
{
XTestFakeButtonEvent
(
m_display
,
MouseWheelUp
,
true
,
CurrentTime
);
XTestFakeButtonEvent
(
m_display
,
MouseWheelUp
,
false
,
CurrentTime
);
}
...
...
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