summaryrefslogtreecommitdiffstats
path: root/qtbase.pro
diff options
context:
space:
mode:
authorGatis Paeglis <gatis.paeglis@theqtcompany.com>2015-08-06 10:47:15 +0200
committerGatis Paeglis <gatis.paeglis@digia.com>2015-09-22 14:21:00 +0000
commit7edd10e6cc215c419c2cb492ffca997faa520c4c (patch)
tree4419b612ec47cfc1e9a7f400830f1bbf0414eaf7 /qtbase.pro
parentb9c5a938c0b578249cac7491592547042f5aa4d2 (diff)
xcb: Compress mouse motion and touch update events
The current version of the mouse motion event compression algorithm does not work with certain configurations - situations where we get one XCB_GE_GENERIC event between every XCB_MOTION_NOTIFY event. The new implementation tries to be less fragile. The previous approach checked "is *the next* event the same type as the current event", the new check asks "have we buffered more events of the same type as the current event". We buffer events of the same type only when the main thread is unresponsive. This patch adds event compression for XI_TouchUpdate in addition to the fix for motion even compression. Change-Id: Ie215eb5969e2060e463ebe48e3d3007390a30deb Task-number: QTBUG-40889 Task-number: QTBUG-47069 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'qtbase.pro')
0 files changed, 0 insertions, 0 deletions