diff options
Diffstat (limited to 'src/androidterm.c')
| -rw-r--r-- | src/androidterm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/androidterm.c b/src/androidterm.c index 1593cac36ba..cfb64cd69a0 100644 --- a/src/androidterm.c +++ b/src/androidterm.c | |||
| @@ -1377,7 +1377,7 @@ handle_one_android_event (struct android_display_info *dpyinfo, | |||
| 1377 | { | 1377 | { |
| 1378 | /* Simply update the tool position and send an update. */ | 1378 | /* Simply update the tool position and send an update. */ |
| 1379 | touchpoint->x = event->touch.x; | 1379 | touchpoint->x = event->touch.x; |
| 1380 | touchpoint->y = event->touch.x; | 1380 | touchpoint->y = event->touch.y; |
| 1381 | android_update_tools (any, &inev.ie); | 1381 | android_update_tools (any, &inev.ie); |
| 1382 | inev.ie.timestamp = event->touch.time; | 1382 | inev.ie.timestamp = event->touch.time; |
| 1383 | 1383 | ||
| @@ -1390,7 +1390,7 @@ handle_one_android_event (struct android_display_info *dpyinfo, | |||
| 1390 | touchpoint = xmalloc (sizeof *touchpoint); | 1390 | touchpoint = xmalloc (sizeof *touchpoint); |
| 1391 | touchpoint->tool_id = event->touch.pointer_id; | 1391 | touchpoint->tool_id = event->touch.pointer_id; |
| 1392 | touchpoint->x = event->touch.x; | 1392 | touchpoint->x = event->touch.x; |
| 1393 | touchpoint->y = event->touch.x; | 1393 | touchpoint->y = event->touch.y; |
| 1394 | touchpoint->next = FRAME_OUTPUT_DATA (any)->touch_points; | 1394 | touchpoint->next = FRAME_OUTPUT_DATA (any)->touch_points; |
| 1395 | touchpoint->tool_bar_p = false; | 1395 | touchpoint->tool_bar_p = false; |
| 1396 | FRAME_OUTPUT_DATA (any)->touch_points = touchpoint; | 1396 | FRAME_OUTPUT_DATA (any)->touch_points = touchpoint; |