Clear flags when all fingers are released 90/78590/1 accepted/tizen/3.0/common/20161114.110152 accepted/tizen/3.0/mobile/20161015.033135 accepted/tizen/3.0/wearable/20161015.081842 accepted/tizen/common/20160706.142451 accepted/tizen/mobile/20160706.083228 accepted/tizen/wearable/20160706.083257 submit/tizen/20160706.075652 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_wearable/20161015.000001
authorJengHyun Kang <jhyuni.kang@samsung.com>
Wed, 6 Jul 2016 07:32:31 +0000 (16:32 +0900)
committerJengHyun Kang <jhyuni.kang@samsung.com>
Wed, 6 Jul 2016 07:32:31 +0000 (16:32 +0900)
Change-Id: I3e931c3cfe097722eb49adcd2aecb4f6d5276263

src/e_mod_gesture_events.c

index b0548b8..076166e 100644 (file)
@@ -303,11 +303,6 @@ _e_gesture_process_mouse_button_down(void *event)
         return EINA_TRUE;
      }
 
-   if (gesture->gesture_events.num_pressed == 1)
-     {
-        gesture->gesture_events.recognized_gesture = 0x0;
-     }
-
    if (gesture->gesture_events.recognized_gesture)
      {
         return EINA_FALSE;
@@ -344,6 +339,10 @@ _e_gesture_process_mouse_button_up(void *event)
 
    if (gesture->gesture_events.recognized_gesture)
      {
+        if (gesture->gesture_events.num_pressed == 0)
+          {
+             gesture->gesture_events.recognized_gesture = 0x0;
+          }
         return EINA_FALSE;
      }