aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/w32fns.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/src/w32fns.c b/src/w32fns.c
index 3ccfdeef61d..d25b4b16abd 100644
--- a/src/w32fns.c
+++ b/src/w32fns.c
@@ -5087,7 +5087,8 @@ This function is an internal primitive--use `make-frame' instead.")
5087 it to make_frame_without_minibuffer. */ 5087 it to make_frame_without_minibuffer. */
5088 frame = Qnil; 5088 frame = Qnil;
5089 GCPRO4 (parms, parent, name, frame); 5089 GCPRO4 (parms, parent, name, frame);
5090 tem = w32_get_arg (parms, Qminibuffer, 0, 0, RES_TYPE_SYMBOL); 5090 tem = w32_get_arg (parms, Qminibuffer, "minibuffer", "Minibuffer",
5091 RES_TYPE_SYMBOL);
5091 if (EQ (tem, Qnone) || NILP (tem)) 5092 if (EQ (tem, Qnone) || NILP (tem))
5092 f = make_frame_without_minibuffer (Qnil, kb, display); 5093 f = make_frame_without_minibuffer (Qnil, kb, display);
5093 else if (EQ (tem, Qonly)) 5094 else if (EQ (tem, Qonly))
@@ -5128,7 +5129,7 @@ This function is an internal primitive--use `make-frame' instead.")
5128 5129
5129 if (!NILP (parent)) 5130 if (!NILP (parent))
5130 { 5131 {
5131 f->output_data.w32->parent_desc = (Window) parent; 5132 f->output_data.w32->parent_desc = (Window) XFASTINT (parent);
5132 f->output_data.w32->explicit_parent = 1; 5133 f->output_data.w32->explicit_parent = 1;
5133 } 5134 }
5134 else 5135 else
@@ -5186,7 +5187,7 @@ This function is an internal primitive--use `make-frame' instead.")
5186 } 5187 }
5187 5188
5188 x_default_parameter (f, parms, Qborder_width, make_number (2), 5189 x_default_parameter (f, parms, Qborder_width, make_number (2),
5189 "borderwidth", "BorderWidth", RES_TYPE_NUMBER); 5190 "borderWidth", "BorderWidth", RES_TYPE_NUMBER);
5190 /* This defaults to 2 in order to match xterm. We recognize either 5191 /* This defaults to 2 in order to match xterm. We recognize either
5191 internalBorderWidth or internalBorder (which is what xterm calls 5192 internalBorderWidth or internalBorder (which is what xterm calls
5192 it). */ 5193 it). */
@@ -5195,16 +5196,16 @@ This function is an internal primitive--use `make-frame' instead.")
5195 Lisp_Object value; 5196 Lisp_Object value;
5196 5197
5197 value = w32_get_arg (parms, Qinternal_border_width, 5198 value = w32_get_arg (parms, Qinternal_border_width,
5198 "internalBorder", "BorderWidth", RES_TYPE_NUMBER); 5199 "internalBorder", "InternalBorder", RES_TYPE_NUMBER);
5199 if (! EQ (value, Qunbound)) 5200 if (! EQ (value, Qunbound))
5200 parms = Fcons (Fcons (Qinternal_border_width, value), 5201 parms = Fcons (Fcons (Qinternal_border_width, value),
5201 parms); 5202 parms);
5202 } 5203 }
5203 /* Default internalBorderWidth to 0 on Windows to match other programs. */ 5204 /* Default internalBorderWidth to 0 on Windows to match other programs. */
5204 x_default_parameter (f, parms, Qinternal_border_width, make_number (0), 5205 x_default_parameter (f, parms, Qinternal_border_width, make_number (0),
5205 "internalBorderWidth", "BorderWidth", RES_TYPE_NUMBER); 5206 "internalBorderWidth", "InternalBorder", RES_TYPE_NUMBER);
5206 x_default_parameter (f, parms, Qvertical_scroll_bars, Qt, 5207 x_default_parameter (f, parms, Qvertical_scroll_bars, Qright,
5207 "verticalScrollBars", "ScrollBars", RES_TYPE_BOOLEAN); 5208 "verticalScrollBars", "ScrollBars", RES_TYPE_SYMBOL);
5208 5209
5209 /* Also do the stuff which must be set before the window exists. */ 5210 /* Also do the stuff which must be set before the window exists. */
5210 x_default_parameter (f, parms, Qforeground_color, build_string ("black"), 5211 x_default_parameter (f, parms, Qforeground_color, build_string ("black"),
@@ -5303,9 +5304,6 @@ This function is an internal primitive--use `make-frame' instead.")
5303 SET_FRAME_WIDTH (f, 0); 5304 SET_FRAME_WIDTH (f, 0);
5304 change_frame_size (f, height, width, 1, 0, 0); 5305 change_frame_size (f, height, width, 1, 0, 0);
5305 5306
5306 /* Set up faces after all frame parameters are known. */
5307 call1 (Qface_set_after_frame_default, frame);
5308
5309 /* Tell the server what size and position, etc, we want, and how 5307 /* Tell the server what size and position, etc, we want, and how
5310 badly we want them. This should be done after we have the menu 5308 badly we want them. This should be done after we have the menu
5311 bar so that its size can be taken into account. */ 5309 bar so that its size can be taken into account. */