diff options
Diffstat (limited to 'src/androidfns.c')
| -rw-r--r-- | src/androidfns.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/androidfns.c b/src/androidfns.c index 4246f6d2be4..84558350dc0 100644 --- a/src/androidfns.c +++ b/src/androidfns.c | |||
| @@ -2564,9 +2564,16 @@ DEFUN ("x-show-tip", Fx_show_tip, Sx_show_tip, 1, 6, 0, | |||
| 2564 | /* Garbage the tip frame too. */ | 2564 | /* Garbage the tip frame too. */ |
| 2565 | SET_FRAME_GARBAGED (tip_f); | 2565 | SET_FRAME_GARBAGED (tip_f); |
| 2566 | 2566 | ||
| 2567 | /* Block input around `update_single_window' and `flush_frame', lest a | ||
| 2568 | ConfigureNotify and Expose event arrive during the update, and set | ||
| 2569 | flags, e.g. garbaged_p, that are cleared once the update completes, | ||
| 2570 | leaving the requested exposure or configuration outstanding. */ | ||
| 2571 | block_input (); | ||
| 2567 | w->must_be_updated_p = true; | 2572 | w->must_be_updated_p = true; |
| 2568 | update_single_window (w); | 2573 | update_single_window (w); |
| 2569 | flush_frame (tip_f); | 2574 | flush_frame (tip_f); |
| 2575 | unblock_input (); | ||
| 2576 | |||
| 2570 | set_buffer_internal_1 (old_buffer); | 2577 | set_buffer_internal_1 (old_buffer); |
| 2571 | unbind_to (count_1, Qnil); | 2578 | unbind_to (count_1, Qnil); |
| 2572 | windows_or_buffers_changed = old_windows_or_buffers_changed; | 2579 | windows_or_buffers_changed = old_windows_or_buffers_changed; |