]> code.delx.au - gnu-emacs/commitdiff
Fix last fix"
authorMartin Rudalics <rudalics@gmx.at>
Thu, 18 Jun 2015 12:45:43 +0000 (14:45 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Thu, 18 Jun 2015 12:45:43 +0000 (14:45 +0200)
src/nsfns.m

index c5ff42f960a6165c525b0c44aeb353c661faeefb..c6de744c750a7e2a1574afb91870c0de7f06bb7d 100644 (file)
@@ -1199,8 +1199,6 @@ This function is an internal primitive--use `make-frame' instead.  */)
   image_cache_refcount =
     FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0;
 
-  init_frame_faces (f);
-
   x_default_parameter (f, parms, Qfont_backend, Qnil,
                        "fontBackend", "FontBackend", RES_TYPE_STRING);
 
@@ -1255,6 +1253,8 @@ This function is an internal primitive--use `make-frame' instead.  */)
   x_default_parameter (f, parms, Qright_fringe, Qnil,
                       "rightFringe", "RightFringe", RES_TYPE_NUMBER);
 
+  init_frame_faces (f);
+
   /* Read comment about this code in corresponding place in xfns.c.  */
   adjust_frame_size (f, FRAME_COLS (f) * FRAME_COLUMN_WIDTH (f),
                     FRAME_LINES (f) * FRAME_LINE_HEIGHT (f), 5, 1,