Elm Glayer: Added single tap/double click support.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 10 Oct 2011 15:47:40 +0000 (15:47 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 10 Oct 2011 15:47:40 +0000 (15:47 +0000)
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@63961 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_gesture_layer.c

index 6b56523..2150d6b 100644 (file)
@@ -1327,14 +1327,6 @@ _dbl_click_test(Evas_Object *obj, Pointer_Event *pe,
 
          if (st->count_ups == eina_list_count(st->l))
            {
-              /* Abort if we found a single click */
-              if ((taps == 1) && (st->count_ups == 1))
-                {
-                   ev_flag = _set_state(gesture, ELM_GESTURE_STATE_ABORT,
-                         &st->info, EINA_FALSE);
-                   consume_event(wd, event_info, event_type, ev_flag);
-                   break;
-                }
               st->info.n = st->count_ups;
               ev_flag =_set_state(gesture, ELM_GESTURE_STATE_END,
                     &st->info, EINA_FALSE);