Merge lp:~chasedouglas/oif-qml/check-touch-count into lp:oif-qml

Proposed by Chase Douglas
Status: Merged
Merged at revision: 106
Proposed branch: lp:~chasedouglas/oif-qml/check-touch-count
Merge into: lp:oif-qml
Diff against target: 13 lines (+3/-0)
1 file modified
src/geissingleton.cpp (+3/-0)
To merge this branch: bzr merge lp:~chasedouglas/oif-qml/check-touch-count
Reviewer Review Type Date Requested Status
Stephen M. Webb (community) Approve
Review via email: mp+70771@code.launchpad.net

Description of the change

Check for number of touches matches the subscription

To post a comment you must log in.
Revision history for this message
Stephen M. Webb (bregma) wrote :

Yes, looks like a straightforward fix.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/geissingleton.cpp'
2--- src/geissingleton.cpp 2011-08-01 22:37:58 +0000
3+++ src/geissingleton.cpp 2011-08-08 18:25:37 +0000
4@@ -364,6 +364,9 @@
5 if (!area)
6 continue;
7
8+ if (touches.count() != area->subscription()->touches()->start())
9+ continue;
10+
11 if (!area->subscription()->_UNITY_globalGesture()) {
12 /* We have an area that intersects with the box, now check if the
13 * area contains the box.

Subscribers

People subscribed via source and target branches