changeset 26873:5281eb29603f

(Frecenter): Clear all caches of compositions.
author Kenichi Handa <handa@m17n.org>
date Wed, 15 Dec 1999 00:22:26 +0000
parents ea588757e607
children e45f9a84fca0
files src/window.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c	Wed Dec 15 00:21:42 1999 +0000
+++ b/src/window.c	Wed Dec 15 00:22:26 1999 +0000
@@ -4156,6 +4156,11 @@
   if (NILP (arg))
     {
       extern int frame_garbaged;
+      int i;
+
+      /* Invalidate pixel data calculated for all compositions.  */
+      for (i = 0; i < n_compositions; i++)
+	composition_table[i]->font = NULL;
 
       Fredraw_frame (w->frame);
       SET_FRAME_GARBAGED (XFRAME (WINDOW_FRAME (w)));