aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Antipov2014-07-01 11:30:33 +0400
committerDmitry Antipov2014-07-01 11:30:33 +0400
commit34ac10a87beb0b801e2ca979e98fb40099656c2c (patch)
tree0976335378b7cafec8284af247de96d424e81c2d
parent3f4d0f042ac4a6749e08a02d09f57269cef47aa6 (diff)
downloademacs-34ac10a87beb0b801e2ca979e98fb40099656c2c.tar.gz
emacs-34ac10a87beb0b801e2ca979e98fb40099656c2c.zip
* xfaces.c (init_frame_faces): Always realize basic faces (#Bug17889).
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xfaces.c16
2 files changed, 7 insertions, 13 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6d1e23b40fd..a94bf5dbb46 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12014-07-01 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * xfaces.c (init_frame_faces): Always realize basic faces (#Bug17889).
4
12014-06-30 Eli Zaretskii <eliz@gnu.org> 52014-06-30 Eli Zaretskii <eliz@gnu.org>
2 6
3 * frame.c (do_switch_frame): When switching to another TTY frame, 7 * frame.c (do_switch_frame): When switching to another TTY frame,
diff --git a/src/xfaces.c b/src/xfaces.c
index 4271e47c36f..ac67c7b7be4 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -680,19 +680,9 @@ init_frame_faces (struct frame *f)
680 } 680 }
681#endif /* HAVE_WINDOW_SYSTEM */ 681#endif /* HAVE_WINDOW_SYSTEM */
682 682
683 /* Realize basic faces. Must have enough information in frame 683 /* Realize faces early (Bug#17889). */
684 parameters to realize basic faces at this point. */ 684 if (!realize_basic_faces (f))
685#ifdef HAVE_X_WINDOWS 685 emacs_abort ();
686 if (!FRAME_X_P (f) || FRAME_X_WINDOW (f))
687#endif
688#ifdef HAVE_NTGUI
689 if (!FRAME_WINDOW_P (f) || FRAME_W32_WINDOW (f))
690#endif
691#ifdef HAVE_NS
692 if (!FRAME_NS_P (f) || FRAME_NS_WINDOW (f))
693#endif
694 if (!realize_basic_faces (f))
695 emacs_abort ();
696} 686}
697 687
698 688