aboutsummaryrefslogtreecommitdiffstats
path: root/src/androidterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/androidterm.c')
-rw-r--r--src/androidterm.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/androidterm.c b/src/androidterm.c
index d5dafe9b0d7..4aee1a90b68 100644
--- a/src/androidterm.c
+++ b/src/androidterm.c
@@ -591,17 +591,7 @@ handle_one_android_event (struct android_display_info *dpyinfo,
591 android_clear_under_internal_border (f); 591 android_clear_under_internal_border (f);
592 SET_FRAME_GARBAGED (f); 592 SET_FRAME_GARBAGED (f);
593 cancel_mouse_face (f); 593 cancel_mouse_face (f);
594
595 /* Now stash the serial of this configure event somewhere,
596 and call android_window_updated with it once the redraw
597 completes. */
598 FRAME_OUTPUT_DATA (f)->last_configure_serial
599 = configureEvent.xconfigure.serial;
600 } 594 }
601 else
602 /* Reply to this ConfigureNotify event immediately. */
603 android_window_updated (FRAME_ANDROID_WINDOW (f),
604 configureEvent.xconfigure.serial);
605 595
606 goto OTHER; 596 goto OTHER;
607 597
@@ -1352,14 +1342,6 @@ android_frame_up_to_date (struct frame *f)
1352 /* The frame is now complete, as its contents have been drawn. */ 1342 /* The frame is now complete, as its contents have been drawn. */
1353 FRAME_ANDROID_COMPLETE_P (f) = true; 1343 FRAME_ANDROID_COMPLETE_P (f) = true;
1354 1344
1355 /* If there was an outstanding configure event, then tell system
1356 that the update has finished and the new contents can now be
1357 displayed. */
1358 if (FRAME_OUTPUT_DATA (f)->last_configure_serial)
1359 android_window_updated (FRAME_ANDROID_WINDOW (f),
1360 FRAME_OUTPUT_DATA (f)->last_configure_serial);
1361 FRAME_OUTPUT_DATA (f)->last_configure_serial = 0;
1362
1363 /* Shrink the scanline buffer used by the font backend. */ 1345 /* Shrink the scanline buffer used by the font backend. */
1364 sfntfont_android_shrink_scanline_buffer (); 1346 sfntfont_android_shrink_scanline_buffer ();
1365 unblock_input (); 1347 unblock_input ();