]> git.eshelyaron.com Git - emacs.git/commitdiff
* xfaces.c (realize_face): Garbage the frame if a face is removed
authorChong Yidong <cyd@stupidchicken.com>
Sat, 10 Jul 2010 17:58:29 +0000 (13:58 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 10 Jul 2010 17:58:29 +0000 (13:58 -0400)
(Bug#6593).

src/ChangeLog
src/xfaces.c

index 9ca8ac29dd81826dd2aa6a2a03aa704e39b4ca47..b6fe8f8c5c3e2b89de435cbdcbcaf818682dcd43 100644 (file)
@@ -1,3 +1,8 @@
+2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xfaces.c (realize_face): Garbage the frame if a face is removed
+       (Bug#6593).
+
 2010-07-05  Andreas Schwab  <schwab@linux-m68k.org>
 
        * keyboard.c: Remove duplicate <setjmp.h>.
index 6bde1c121d2c3942094359e91fc4bbfbc15572ad..7dab1a871d1b4b4b85a27aebad2e0488013eed61 100644 (file)
@@ -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))