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 d4612bb20fa..2bd2b45743d 100644 --- a/src/androidterm.c +++ b/src/androidterm.c | |||
| @@ -495,8 +495,8 @@ android_note_mouse_movement (struct frame *frame, | |||
| 495 | /* Has the mouse moved off the glyph it was on at the last sighting? */ | 495 | /* Has the mouse moved off the glyph it was on at the last sighting? */ |
| 496 | r = &dpyinfo->last_mouse_glyph; | 496 | r = &dpyinfo->last_mouse_glyph; |
| 497 | if (frame != dpyinfo->last_mouse_glyph_frame | 497 | if (frame != dpyinfo->last_mouse_glyph_frame |
| 498 | || event->x < r->x || event->x >= r->x + r->width | 498 | || event->x < r->x || event->x >= r->x + (int) r->width |
| 499 | || event->y < r->y || event->y >= r->y + r->height) | 499 | || event->y < r->y || event->y >= r->y + (int) r->height) |
| 500 | { | 500 | { |
| 501 | frame->mouse_moved = true; | 501 | frame->mouse_moved = true; |
| 502 | note_mouse_highlight (frame, event->x, event->y); | 502 | note_mouse_highlight (frame, event->x, event->y); |