gesture: no need to multitouch clearing at every injection 52/15052/1
authorGiWoong Kim <giwoong.kim@samsung.com>
Tue, 14 Jan 2014 09:21:32 +0000 (18:21 +0900)
committerGiWoong Kim <giwoong.kim@samsung.com>
Wed, 15 Jan 2014 08:52:38 +0000 (17:52 +0900)
Change-Id: Ib5c39564257b66efbff9840fc5f74a4357f1dada
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
tizen/src/ecs/ecs_msg.c

index 4369b824e7f846919990b1d63fb94220f80cc295..2e1fe9ccd44b5973b70e7b27a4bbf468e5b8740e 100644 (file)
@@ -370,7 +370,9 @@ bool msgproc_device_req(ECS_Client* ccli, ECS__DeviceReq* msg)
     } else if (!strncmp(cmd, "gesture", strlen("gesture"))) {
         /* release multi-touch */
 #ifndef CONFIG_USE_SHM
-        clear_finger_slot(false);
+        if (get_multi_touch_enable() != 0) {
+            clear_finger_slot(false);
+        }
 #else
         // TODO:
 #endif