From f02d6d5cbbff57ab7985cb055ca98ac842d9de36 Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Wed, 15 Dec 1999 00:22:26 +0000 Subject: [PATCH] (Frecenter): Clear all caches of compositions. --- src/window.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/window.c b/src/window.c index 0d7cc27b39d..5ea0fde563f 100644 --- a/src/window.c +++ b/src/window.c @@ -4156,6 +4156,11 @@ redraws with point in the center of the current window.") 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))); -- 2.39.5