emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99920: * xfaces.c (realize_face):


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99920: * xfaces.c (realize_face): Garbage the frame if a face is removed
Date: Sat, 10 Jul 2010 13:58:29 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99920
committer: Chong Yidong <address@hidden>
branch nick: emacs-23
timestamp: Sat 2010-07-10 13:58:29 -0400
message:
  * xfaces.c (realize_face): Garbage the frame if a face is removed
  (Bug#6593).
modified:
  src/ChangeLog
  src/xfaces.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-07-05 17:16:59 +0000
+++ b/src/ChangeLog     2010-07-10 17:58:29 +0000
@@ -1,3 +1,8 @@
+2010-07-10  Chong Yidong  <address@hidden>
+
+       * xfaces.c (realize_face): Garbage the frame if a face is removed
+       (Bug#6593).
+
 2010-07-05  Andreas Schwab  <address@hidden>
 
        * keyboard.c: Remove duplicate <setjmp.h>.

=== modified file 'src/xfaces.c'
--- a/src/xfaces.c      2010-01-13 08:35:10 +0000
+++ b/src/xfaces.c      2010-07-10 17:58:29 +0000
@@ -5783,6 +5783,7 @@
       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))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]