projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83b67dd
)
[els_touch]add TOUCH_STATE_NONE to recognize two touch
author
Eunmi Lee
<eunmi15.lee@samsung.com>
Wed, 1 Sep 2010 05:28:16 +0000
(14:28 +0900)
committer
Eunmi Lee
<eunmi15.lee@samsung.com>
Wed, 1 Sep 2010 05:28:16 +0000
(14:28 +0900)
src/lib/els_touch.c
patch
|
blob
|
history
diff --git
a/src/lib/els_touch.c
b/src/lib/els_touch.c
index
41d1744
..
29e764d
100644
(file)
--- a/
src/lib/els_touch.c
+++ b/
src/lib/els_touch.c
@@
-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)
{