From 7c33a0572280bdcf0583c5625cfda32f63fad56d Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 10 Jul 2010 13:58:29 -0400 Subject: [PATCH] * xfaces.c (realize_face): Garbage the frame if a face is removed (Bug#6593). --- src/ChangeLog | 5 +++++ src/xfaces.c | 1 + 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 9ca8ac29dd8..b6fe8f8c5c3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2010-07-10 Chong Yidong + + * xfaces.c (realize_face): Garbage the frame if a face is removed + (Bug#6593). + 2010-07-05 Andreas Schwab * keyboard.c: Remove duplicate . diff --git a/src/xfaces.c b/src/xfaces.c index 6bde1c121d2..7dab1a871d1 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -5783,6 +5783,7 @@ realize_face (cache, attrs, former_face_id) struct face *former_face = cache->faces_by_id[former_face_id]; uncache_face (cache, former_face); free_realized_face (cache->f, former_face); + SET_FRAME_GARBAGED (cache->f); } if (FRAME_WINDOW_P (cache->f)) -- 2.39.2