~ubuntu-branches/ubuntu/natty/xserver-xorg-input-synaptics/natty-proposed

« back to all changes in this revision

Viewing changes to debian/patches/123_order_ProcessTouch_for_numFingers.patch

  • Committer: Bazaar Package Importer
  • Author(s): Chase Douglas
  • Date: 2011-04-05 11:03:12 UTC
  • Revision ID: james.westby@ubuntu.com-20110405110312-79t9iyqkvay17is7
Tags: 1.3.99+git20110116.0e27ce3a-0ubuntu11
* Fix jumpy cursor on multitouch trackpads (LP: #751525)
  - Added 123_order_ProcessTouch_for_numFingers.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: xserver-xorg-input-synaptics/src/eventcomm.c
 
2
===================================================================
 
3
--- xserver-xorg-input-synaptics.orig/src/eventcomm.c   2011-04-05 11:02:20.297458106 -0400
 
4
+++ xserver-xorg-input-synaptics/src/eventcomm.c        2011-04-05 11:02:48.753536302 -0400
 
5
@@ -547,6 +547,7 @@
 
6
     case EV_SYN:
 
7
         switch (ev->code) {
 
8
         case SYN_REPORT:
 
9
+            ProcessTouch(pInfo, priv);
 
10
             if (priv->has_touch && ecpriv->active_touches < 2)
 
11
                 hw->numFingers = ecpriv->active_touches;
 
12
             else if (comm->oneFinger)
 
13
@@ -558,7 +559,6 @@
 
14
             else
 
15
                 hw->numFingers = 0;
 
16
             *hwRet = *hw;
 
17
-            ProcessTouch(pInfo, priv);
 
18
             return TRUE;
 
19
         }
 
20
     case EV_KEY: