https://bugs.kde.org/show_bug.cgi?id=357692

--- Comment #8 from Thomas Lübking <thomas.luebk...@gmail.com> ---
Try this on top, resp. to lower the "distance" threshold to other values.

diff --git a/cursor.cpp b/cursor.cpp
index 271eec9..e3b3111 100644
--- a/cursor.cpp
+++ b/cursor.cpp
@@ -327,7 +327,7 @@ void X11Cursor::mousePolled()

     static int distance = 0;
     distance = (2*distance + QPoint(currentPos() -
lastPos).manhattanLength())/3;
-    m_mousePollingTimer->setInterval(distance > 16 ? 25 : 100);
+    m_mousePollingTimer->setInterval(distance > 8 ? 25 : 100);

     if (lastPos != currentPos() || lastMask != m_buttonMask) {
         emit mouseChanged(currentPos(), lastPos,


This lowers the required mouse speed (to keep fast polling) from 640px/s to
320px/s (unscaled pixels)


Depending on loaded (or rather active) effects is what
https://git.reviewboard.kde.org/r/111875/ sought to do, but it also means to
"usually poll-a-lot" (too much), even if you don't touch the mouse at all.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to