2000-03-02 Gerd Moellmann <gerd@gnu.org>
+ * xterm.c (note_mouse_highlight): Return quickly if frame's
+ glyph matrices have been freed.
+
+ * dispnew.c (free_glyphs): Block input while freeing matrices.
+
* xfns.c (x_clear_image, x_kill_gs_process): Use x_free_colors.
* xterm.c (x_alloc_lighter_color, x_setup_relief_color): Use
{
if (f && f->glyphs_initialized_p)
{
+ /* Block interrupt input so that we don't get surprised by an X
+ event while we're in an inconsistent state. */
+ BLOCK_INPUT;
f->glyphs_initialized_p = 0;
/* Release window sub-matrices. */
free_glyph_pool (f->current_pool);
f->desired_pool = f->current_pool = NULL;
}
+
+ UNBLOCK_INPUT;
}
}