mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 08:43:40 -07:00
Fix inappropriate use of killed xwidgets
* src/xwidget.c (x_draw_xwidget_webkit_view): Don't record embedder or synthesize focus events if the widget is killed.
This commit is contained in:
parent
8471c6f06c
commit
47b7ec2a3d
1 changed files with 5 additions and 2 deletions
|
|
@ -2844,8 +2844,11 @@ x_draw_xwidget_glyph_string (struct glyph_string *s)
|
|||
#endif
|
||||
|
||||
#if defined HAVE_XINPUT2 || defined HAVE_PGTK
|
||||
record_osr_embedder (xv);
|
||||
synthesize_focus_in_event (xww->widget_osr);
|
||||
if (!NILP (xww->buffer))
|
||||
{
|
||||
record_osr_embedder (xv);
|
||||
synthesize_focus_in_event (xww->widget_osr);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_GTK
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue