aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/window.c b/src/window.c
index dc01b2faedf..0d7cc27b39d 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1053,9 +1053,11 @@ delete_window (window)
1053 unchain_marker (p->start); 1053 unchain_marker (p->start);
1054 } 1054 }
1055 1055
1056 /* Free window glyph matrices. 1056 /* Free window glyph matrices. It is sure that they are allocated
1057 It is sure that they are allocated again when ADJUST_GLYPHS 1057 again when ADJUST_GLYPHS is called. Block input so that expose
1058 is called. */ 1058 events and other events that access glyph matrices are not
1059 processed while we are changing them. */
1060 BLOCK_INPUT;
1059 free_window_matrices (XWINDOW (FRAME_ROOT_WINDOW (frame))); 1061 free_window_matrices (XWINDOW (FRAME_ROOT_WINDOW (frame)));
1060 1062
1061 tem = p->next; 1063 tem = p->next;
@@ -1114,6 +1116,7 @@ delete_window (window)
1114 1116
1115 /* Adjust glyph matrices. */ 1117 /* Adjust glyph matrices. */
1116 adjust_glyphs (frame); 1118 adjust_glyphs (frame);
1119 UNBLOCK_INPUT;
1117} 1120}
1118 1121
1119 1122