[els_touch]add TOUCH_STATE_NONE to recognize two touch
authorEunmi Lee <eunmi15.lee@samsung.com>
Wed, 1 Sep 2010 05:28:16 +0000 (14:28 +0900)
committerEunmi Lee <eunmi15.lee@samsung.com>
Wed, 1 Sep 2010 05:28:16 +0000 (14:28 +0900)
src/lib/els_touch.c

index 41d1744..29e764d 100644 (file)
@@ -573,6 +573,10 @@ _smart_multi_down(void *data, Evas *e, Evas_Object *obj, void *ev)
    switch (sd->state)
      {
       case TOUCH_STATE_DOWN:
+        // add TOUCH_STATE_NONE,
+        // because sometimes multi down is faster then mouse down
+        // in that case, the two touch is recognized as one touch
+      case TOUCH_STATE_NONE:
         sd->numOfTouch++;
         if (sd->numOfTouch == 1)
           {