edge_swipe: fix invalid edge delivery codes 28/251828/1
authorjeon <jhyuni.kang@samsung.com>
Tue, 19 Jan 2021 14:53:21 +0000 (23:53 +0900)
committerjeon <jhyuni.kang@samsung.com>
Tue, 19 Jan 2021 14:53:21 +0000 (23:53 +0900)
Change-Id: I1aec92d72d8bbc634a189735e9765d0b87eee192

src/e_mod_gesture_events.c

index cf3091d..b7acf10 100644 (file)
@@ -587,7 +587,7 @@ _e_gesture_process_edge_swipe_move(Ecore_Event_Mouse_Move *ev)
              }
            if (diff.y > conf->edge_swipe.max_length)
              {
-                _e_gesture_send_edge_swipe(idx, edge_swipes->base.fingers[idx].start.x, edge_swipes->base.fingers[idx].start.y, E_GESTURE_EDGE_TOP);
+                _e_gesture_send_edge_swipe(idx, edge_swipes->base.fingers[idx].start.x, edge_swipes->base.fingers[idx].start.y, edge_swipes->base.edge);
              }
            break;
         case E_GESTURE_EDGE_LEFT:
@@ -601,7 +601,7 @@ _e_gesture_process_edge_swipe_move(Ecore_Event_Mouse_Move *ev)
              }
            if (diff.x > conf->edge_swipe.max_length)
              {
-                _e_gesture_send_edge_swipe(idx, edge_swipes->base.fingers[idx].start.x, edge_swipes->base.fingers[idx].start.y, E_GESTURE_EDGE_LEFT);
+                _e_gesture_send_edge_swipe(idx, edge_swipes->base.fingers[idx].start.x, edge_swipes->base.fingers[idx].start.y, edge_swipes->base.edge);
              }
            break;
         default: