From: Chong Yidong Date: Sat, 10 Jul 2010 17:58:29 +0000 (-0400) Subject: * xfaces.c (realize_face): Garbage the frame if a face is removed X-Git-Tag: emacs-pretest-23.2.90~139^2~62 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7c33a0572280bdcf0583c5625cfda32f63fad56d;p=emacs.git * xfaces.c (realize_face): Garbage the frame if a face is removed (Bug#6593). --- 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))