Should be squashed into big xi2.1 patch.
Signed-off-by: Chase Douglas <[email protected]>
---
Xi/exevents.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Xi/exevents.c b/Xi/exevents.c
index fbe5912..96689e4 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -991,7 +991,8 @@ EnsureTouchSprite(DeviceIntPtr sourcedev, TouchPointInfoPtr
ti,
/* Find and reuse an existing touch's sprite if possible, else use the
* device's sprite. */
for (i = 0; i < t->num_touches; i++)
- if (t->touches[i].sprite.spriteTraceGood > 0)
+ if (!t->touches[i].pending_finish &&
+ t->touches[i].sprite.spriteTraceGood > 0)
break;
if (i < t->num_touches)
srcsprite = &t->touches[i].sprite;
--
1.7.2.3
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel