From: Hosang Kim Date: Mon, 13 Dec 2021 07:03:13 +0000 (+0900) Subject: efl: remove touch position log for improving security. X-Git-Tag: submit/tizen/20211227.021527~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F12%2F267912%2F1;p=platform%2Fupstream%2Fefl.git efl: remove touch position log for improving security. Change-Id: Icb99aba71e486a71d6f7f87258ca246a005b7b9e --- diff --git a/src/lib/ecore_input_evas/ecore_input_evas.c b/src/lib/ecore_input_evas/ecore_input_evas.c index 3da0bf8..7858483 100644 --- a/src/lib/ecore_input_evas/ecore_input_evas.c +++ b/src/lib/ecore_input_evas/ecore_input_evas.c @@ -640,7 +640,7 @@ _ecore_event_evas_mouse_button(Ecore_Event_Mouse_Button *e, Ecore_Event_Press pr if (e->double_click) flags |= EVAS_BUTTON_DOUBLE_CLICK; if (e->triple_click) flags |= EVAS_BUTTON_TRIPLE_CLICK; //TIZEN_ONLY(20200331): Add debug - INF("\tButtonEvent:ecore_event_evas press(%d), device(%d), button(%d), fake(%d), pos(%d,%d), time(%u)", press, e->multi.device, e->buttons, faked, e->x, e->y, e->timestamp); + INF("\tButtonEvent:ecore_event_evas press(%d), device(%d), button(%d), fake(%d), time(%u)", press, e->multi.device, e->buttons, faked, e->timestamp); // //handle all mouse error from under layers of ecore //error handle diff --git a/src/lib/ecore_wl2/ecore_wl2_input.c b/src/lib/ecore_wl2/ecore_wl2_input.c index c524dc8..a224fb1 100644 --- a/src/lib/ecore_wl2/ecore_wl2_input.c +++ b/src/lib/ecore_wl2/ecore_wl2_input.c @@ -678,7 +678,7 @@ _ecore_wl2_input_mouse_down_send(Ecore_Wl2_Input *input, Ecore_Wl2_Window *windo } //TIZEN_ONLY(20200408): add debug - ERR("[press] window = %p, time=%u x=%d y=%d button=%d", window, (unsigned int)timestamp, ev->x, ev->y, device); + ERR("[press] window = %p, time=%u button=%d", window, (unsigned int)timestamp, device); // ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_DOWN, ev, @@ -757,7 +757,7 @@ _ecore_wl2_input_mouse_up_send(Ecore_Wl2_Input *input, Ecore_Wl2_Window *window, ev->dev = _ecore_wl2_mouse_dev_get(input, window->id); //TIZEN_ONLY(20200408): add debug - ERR("[release] time=%u x=%d y=%d button=%d", (unsigned int)timestamp, ev->x, ev->y, device); + ERR("[release] time=%u button=%d", (unsigned int)timestamp, device); // ecore_event_add(ECORE_EVENT_MOUSE_BUTTON_UP, ev, diff --git a/src/lib/evas/canvas/evas_events.c b/src/lib/evas/canvas/evas_events.c index 7c571a4..b8c4206 100644 --- a/src/lib/evas/canvas/evas_events.c +++ b/src/lib/evas/canvas/evas_events.c @@ -1727,8 +1727,8 @@ _canvas_event_feed_mouse_down_internal(Evas_Public_Data *e, Efl_Input_Pointer_Da if (!pdata) return; b = ev->button; - DBG("ButtonEvent:down time=%u x=%d y=%d button=%d downs=%d", - ev->timestamp, pdata->seat->x, pdata->seat->y, b, pdata->seat->downs); + DBG("ButtonEvent:down time=%u button=%d downs=%d", + ev->timestamp, b, pdata->seat->downs); if ((b < 1) || (b > 32)) return; pdata->button |= (1u << (b - 1)); @@ -1990,11 +1990,11 @@ _canvas_event_feed_mouse_up_internal(Evas_Public_Data *e, Efl_Input_Pointer_Data b = ev->button; cancel = ev->action == EFL_POINTER_ACTION_CANCEL; if (cancel) - DBG("ButtonEvent:cancel time=%u x=%d y=%d button=%d downs=%d", - ev->timestamp, pdata->seat->x, pdata->seat->y, b, pdata->seat->downs); + DBG("ButtonEvent:cancel time=%u button=%d downs=%d", + ev->timestamp, b, pdata->seat->downs); else - DBG("ButtonEvent:up time=%u x=%d y=%d button=%d downs=%d", - ev->timestamp, pdata->seat->x, pdata->seat->y, b, pdata->seat->downs); + DBG("ButtonEvent:up time=%u button=%d downs=%d", + ev->timestamp, b, pdata->seat->downs); if ((b < 1) || (b > 32)) return; if (pdata->seat->downs <= 0) return; @@ -3242,8 +3242,8 @@ _canvas_event_feed_multi_down_internal(Evas_Public_Data *e, Efl_Input_Pointer_Da pdata = _evas_pointer_data_by_device_get(e, ev->device); if (!pdata) return; eo_e = e->evas; - DBG("ButtonEvent:multi down time=%u x=%.1f y=%.1f button=%d downs=%d", - ev->timestamp, ev->cur.x, ev->cur.y, ev->touch_id, pdata->seat->downs); + DBG("ButtonEvent:multi down time=%u button=%d downs=%d", + ev->timestamp, ev->touch_id, pdata->seat->downs); pdata->seat->downs++; if (e->is_frozen) return; e->last_timestamp = ev->timestamp; @@ -3347,8 +3347,8 @@ _canvas_event_feed_multi_up_internal(Evas_Public_Data *e, Efl_Input_Pointer_Data pdata = _evas_pointer_data_by_device_get(e, ev->device); if (!pdata) return; eo_e = e->evas; - DBG("ButtonEvent:multi up time=%u x=%.1f y=%.1f device=%d downs=%d", - ev->timestamp, ev->cur.x, ev->cur.y, ev->touch_id, pdata->seat->downs); + DBG("ButtonEvent:multi up time=%u device=%d downs=%d", + ev->timestamp, ev->touch_id, pdata->seat->downs); if (pdata->seat->downs <= 0) return; pdata->seat->downs--; if (e->is_frozen) return;