diff options
| author | Eli Zaretskii | 2023-11-15 15:10:04 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2023-11-15 15:10:29 +0200 |
| commit | 8fd26c03070dcf786276ea3a939ef74bfa05f5cb (patch) | |
| tree | 8ac92514cc6686e654748e7a9af7d97cfb308787 /src/androidterm.c | |
| parent | f054e9924cc3fda38a710b76db668cfab8b7d1d9 (diff) | |
| parent | 4913dc755766f240c6ef1d2de52422c2444c613b (diff) | |
| download | emacs-8fd26c03070dcf786276ea3a939ef74bfa05f5cb.tar.gz emacs-8fd26c03070dcf786276ea3a939ef74bfa05f5cb.zip | |
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
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; |