# HG changeset patch # User Gerd Moellmann # Date 944597895 0 # Node ID c15c2756ec0f6a76438c0f11f410e04a18f9c8ef # Parent c55415d59073c7da8550f588752c6ec972ed5909 (delete_window): Block input for the time window matrices are being changed. diff -r c55415d59073 -r c15c2756ec0f src/window.c --- a/src/window.c Tue Dec 07 20:11:42 1999 +0000 +++ b/src/window.c Tue Dec 07 20:18:15 1999 +0000 @@ -1053,9 +1053,11 @@ unchain_marker (p->start); } - /* Free window glyph matrices. - It is sure that they are allocated again when ADJUST_GLYPHS - is called. */ + /* Free window glyph matrices. It is sure that they are allocated + again when ADJUST_GLYPHS is called. Block input so that expose + events and other events that access glyph matrices are not + processed while we are changing them. */ + BLOCK_INPUT; free_window_matrices (XWINDOW (FRAME_ROOT_WINDOW (frame))); tem = p->next; @@ -1114,6 +1116,7 @@ /* Adjust glyph matrices. */ adjust_glyphs (frame); + UNBLOCK_INPUT; }