mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-05 22:20:24 -08:00
Avoid races between the tooltip and compositor on X and Android
* java/org/gnu/emacs/EmacsView.java (onLayout): Don't send exposure events when the window is still to be attached. * src/androidfns.c (Fx_show_tip): * src/xfns.c (Fx_show_tip): Block async input around initial frame update.
This commit is contained in:
parent
94be2b2682
commit
5fceb53856
3 changed files with 18 additions and 1 deletions
|
|
@ -425,7 +425,7 @@ public final class EmacsView extends ViewGroup
|
|||
window.viewLayout (left, top, right, bottom);
|
||||
}
|
||||
|
||||
if (needExpose)
|
||||
if (needExpose && isAttachedToWindow)
|
||||
EmacsNative.sendExpose (this.window.handle, 0, 0,
|
||||
right - left, bottom - top);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue