Commit 42f55fe0 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(free_glyphs): Block input while freeing matrices.

parent 04fff9c0
No preview for this file type
......@@ -2170,6 +2170,9 @@ free_glyphs (f)
{
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. */
......@@ -2213,6 +2216,8 @@ free_glyphs (f)
free_glyph_pool (f->current_pool);
f->desired_pool = f->current_pool = NULL;
}
UNBLOCK_INPUT;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment