Elementary: Fixed debug printf to use momentum
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 23 Feb 2012 13:57:50 +0000 (13:57 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 23 Feb 2012 13:57:50 +0000 (13:57 +0000)
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68317 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/test_gesture_layer3.c

index 96a6997..9ecc159 100644 (file)
@@ -377,7 +377,7 @@ momentum_move(void *_po, void *event_info)
 {
    Photo_Object *po = (Photo_Object *) _po;
    Elm_Gesture_Momentum_Info *p = (Elm_Gesture_Momentum_Info *) event_info;
-   printf("momentum move <%d,%d>\n", p->x2, p->y2);
+   printf("momentum move <%d,%d> fingers=<%d> mx,my=<%d,%d>\n", p->x2, p->y2, p->n, p->mx, p->my);
 
    po->bx = p->x2 - po->dx;
    po->by = p->y2 - po->dy;