From 3f33d0c2d5c3d5d425fba4d612aced5db5387cf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Tue, 6 Aug 2013 14:36:00 +0200 Subject: [PATCH] poll mouse at 20Hz required until there's a dynamic poll rate, because 10Hz is too low for magnifiers (lag), mousemark (paints too edgy), mouseclick (often fails because it's easy to cycle the button state within 100ms) - and the bouncing icon lags behind the mouse as well ;-) REVIEW: 111909 --- cursor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cursor.cpp b/cursor.cpp index 8ec8511e2e..5e35a209e7 100644 --- a/cursor.cpp +++ b/cursor.cpp @@ -166,7 +166,7 @@ X11Cursor::X11Cursor(QObject *parent) m_resetTimeStampTimer->setSingleShot(true); connect(m_resetTimeStampTimer, SIGNAL(timeout()), SLOT(resetTimeStamp())); // TODO: How often do we really need to poll? - m_mousePollingTimer->setInterval(100); + m_mousePollingTimer->setInterval(50); connect(m_mousePollingTimer, SIGNAL(timeout()), SLOT(mousePolled())); }