Mercurial > emacs
comparison src/window.c @ 26873:5281eb29603f
(Frecenter): Clear all caches of compositions.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Wed, 15 Dec 1999 00:22:26 +0000 |
parents | c15c2756ec0f |
children | 49dd86912d71 |
comparison
equal
deleted
inserted
replaced
26872:ea588757e607 | 26873:5281eb29603f |
---|---|
4154 struct buffer *obuf = current_buffer; | 4154 struct buffer *obuf = current_buffer; |
4155 | 4155 |
4156 if (NILP (arg)) | 4156 if (NILP (arg)) |
4157 { | 4157 { |
4158 extern int frame_garbaged; | 4158 extern int frame_garbaged; |
4159 int i; | |
4160 | |
4161 /* Invalidate pixel data calculated for all compositions. */ | |
4162 for (i = 0; i < n_compositions; i++) | |
4163 composition_table[i]->font = NULL; | |
4159 | 4164 |
4160 Fredraw_frame (w->frame); | 4165 Fredraw_frame (w->frame); |
4161 SET_FRAME_GARBAGED (XFRAME (WINDOW_FRAME (w))); | 4166 SET_FRAME_GARBAGED (XFRAME (WINDOW_FRAME (w))); |
4162 XSETFASTINT (arg, ht / 2); | 4167 XSETFASTINT (arg, ht / 2); |
4163 } | 4168 } |