aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-20 12:13:37 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2019-06-20 17:14:54 +0200
commitf77bc6957c1a43af22ae269c57ea0b6914e222b8 (patch)
treeddaf5bc597913acee5d46c669a94eb463e0cf149 /src/lib/elementary/efl_ui_win.c
parentEfl.Ui.Radio: Update docs (diff)
downloadefl-f77bc6957c1a43af22ae269c57ea0b6914e222b8.tar.gz
efl_input_pointer: rename tool to touch_id
tool was not very helpfull, and additionally, the docuemtnation of it was completly wrong. After searching through the code where tool was actaully set (efl_ui_win.c) it turned out that it is actaully the "id" of the pointer when there are multiple touch events. ref https://phab.enlightenment.org/T7963 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D9135
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
-rw-r--r--src/lib/elementary/efl_ui_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 2e24a00b99..508083098b 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -2658,8 +2658,8 @@ _efl_ui_win_pointer_iterate(const Eo *obj, Efl_Ui_Win_Data *sd,
ptr = efl_input_pointer_instance_get( (Eo *) obj, (void **) &ptrdata);
if (!ptrdata) break;
- ptrdata->tool = evas_touch_point_list_nth_id_get(sd->evas, i);
- _efl_input_value_mark(ptrdata, EFL_INPUT_VALUE_TOOL);
+ ptrdata->touch_id = evas_touch_point_list_nth_id_get(sd->evas, i);
+ _efl_input_value_mark(ptrdata, EFL_INPUT_VALUE_TOUCH_ID);
// Note that "still" maps to "down" here.
state = evas_touch_point_list_nth_state_get(sd->evas, i);