[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:27:46 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=c32ff31

The following commit has been merged in the master branch:
commit c32ff31516e7d045e691d78afe0f28c0751f3494
Author: Albert Vaca <albertvaka at gmail.com>
Date:   Sun Jun 29 17:52:07 2014 +0200

    Should not scroll if dy is 0
---
 plugins/mousepad/mousepadplugin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/mousepad/mousepadplugin.cpp b/plugins/mousepad/mousepadplugin.cpp
index 08e06a4..64aae5c 100644
--- a/plugins/mousepad/mousepadplugin.cpp
+++ b/plugins/mousepad/mousepadplugin.cpp
@@ -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);
                 }

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list