diff options
Diffstat (limited to 'src/androidterm.c')
| -rw-r--r-- | src/androidterm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/androidterm.c b/src/androidterm.c index 27800a61864..bcb6cd6db45 100644 --- a/src/androidterm.c +++ b/src/androidterm.c | |||
| @@ -1511,6 +1511,11 @@ handle_one_android_event (struct android_display_info *dpyinfo, | |||
| 1511 | inev.ie.kind = TOUCHSCREEN_END_EVENT; | 1511 | inev.ie.kind = TOUCHSCREEN_END_EVENT; |
| 1512 | inev.ie.timestamp = event->touch.time; | 1512 | inev.ie.timestamp = event->touch.time; |
| 1513 | 1513 | ||
| 1514 | /* Report whether the sequence has been canceled. */ | ||
| 1515 | |||
| 1516 | if (event->touch.flags & ANDROID_TOUCH_SEQUENCE_CANCELED) | ||
| 1517 | inev.ie.modifiers = 1; | ||
| 1518 | |||
| 1514 | XSETFRAME (inev.ie.frame_or_window, any); | 1519 | XSETFRAME (inev.ie.frame_or_window, any); |
| 1515 | XSETINT (inev.ie.x, event->touch.x); | 1520 | XSETINT (inev.ie.x, event->touch.x); |
| 1516 | XSETINT (inev.ie.y, event->touch.y); | 1521 | XSETINT (inev.ie.y, event->touch.y); |