]> git.eshelyaron.com Git - emacs.git/commitdiff
* xfaces.c (init_frame_faces): Always realize basic faces (#Bug17889).
authorDmitry Antipov <dmantipov@yandex.ru>
Tue, 1 Jul 2014 07:30:33 +0000 (11:30 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Tue, 1 Jul 2014 07:30:33 +0000 (11:30 +0400)
src/ChangeLog
src/xfaces.c

index 6d1e23b40fd7909dad4790705afb3d1d4a4b274d..a94bf5dbb4689531eba25a27371f5292acc60fcb 100644 (file)
@@ -1,3 +1,7 @@
+2014-07-01  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * xfaces.c (init_frame_faces): Always realize basic faces (#Bug17889).
+
 2014-06-30  Eli Zaretskii  <eliz@gnu.org>
 
        * frame.c (do_switch_frame): When switching to another TTY frame,
index 4271e47c36f8eb72cfed1295f4734ab7f8cf5583..ac67c7b7be434f3a74e06cff24272fee1654deb4 100644 (file)
@@ -680,19 +680,9 @@ init_frame_faces (struct frame *f)
     }
 #endif /* HAVE_WINDOW_SYSTEM */
 
-  /* Realize basic faces.  Must have enough information in frame
-     parameters to realize basic faces at this point.  */
-#ifdef HAVE_X_WINDOWS
-  if (!FRAME_X_P (f) || FRAME_X_WINDOW (f))
-#endif
-#ifdef HAVE_NTGUI
-  if (!FRAME_WINDOW_P (f) || FRAME_W32_WINDOW (f))
-#endif
-#ifdef HAVE_NS
-  if (!FRAME_NS_P (f) || FRAME_NS_WINDOW (f))
-#endif
-    if (!realize_basic_faces (f))
-       emacs_abort ();
+  /* Realize faces early (Bug#17889).  */
+  if (!realize_basic_faces (f))
+    emacs_abort ();
 }