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
=== modified file 'src/geissingleton.cpp'
--- src/geissingleton.cpp 2011-08-01 22:37:58 +0000
+++ src/geissingleton.cpp 2011-08-08 18:25:37 +0000
@@ -364,6 +364,9 @@
364 if (!area)364 if (!area)
365 continue;365 continue;
366366
367 if (touches.count() != area->subscription()->touches()->start())
368 continue;
369
367 if (!area->subscription()->_UNITY_globalGesture()) {370 if (!area->subscription()->_UNITY_globalGesture()) {
368 /* We have an area that intersects with the box, now check if the371 /* We have an area that intersects with the box, now check if the
369 * area contains the box.372 * area contains the box.

Subscribers

People subscribed via source and target branches