Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2
touchegg
touchegg-1.1.1-slowdown-scroll-speed.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File touchegg-1.1.1-slowdown-scroll-speed.patch of Package touchegg
--- touchegg_orig/src/touchegg/actions/implementation/Scroll.cpp +++ touchegg/src/touchegg/actions/implementation/Scroll.cpp @@ -48,9 +48,9 @@ Scroll::Scroll(const QString &settings, if (!error && mainStrSpeed.length() == 2 && mainStrSpeed.at(0) == "SPEED") { bool ok; int configSpeed = QString(mainStrSpeed.at(1)).toInt(&ok); - if (ok && configSpeed >= 1 && configSpeed <= 10) { - this->verticalSpeed = 40 - 2 * configSpeed; - this->horizontalSpeed = 40 - 2 * configSpeed; + if (ok && configSpeed >= 1 && configSpeed < 10) { + this->verticalSpeed = 1000 - 100 * configSpeed; + this->horizontalSpeed = 1000 - 100 * configSpeed; } else { error = true; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor